class UIDevice
Public Instance Methods
iphone5?()
click to toggle source
# File lib/purplish-red/non-ui/ui_device.rb, line 2 def iphone5? UIScreen.mainScreen.bounds.size.height > 480 end
# File lib/purplish-red/non-ui/ui_device.rb, line 2 def iphone5? UIScreen.mainScreen.bounds.size.height > 480 end