Class: UIDevice
- Inherits:
-
Object
- Object
- UIDevice
- Defined in:
- lib/purplish-red/non-ui/ui_device.rb
Instance Method Summary collapse
Instance Method Details
#iphone5? ⇒ Boolean
2 3 4 |
# File 'lib/purplish-red/non-ui/ui_device.rb', line 2 def iphone5? UIScreen.mainScreen.bounds.size.height > 480 end |