Class: UIAlertController
- Inherits:
-
Object
- Object
- UIAlertController
- Defined in:
- lib/project/ios9_fix_uialertcontroller.rb
Instance Method Summary collapse
Instance Method Details
#shouldAutorotate ⇒ Object
8 9 10 |
# File 'lib/project/ios9_fix_uialertcontroller.rb', line 8 def shouldAutorotate true end |
#supportedInterfaceOrientations ⇒ Object
3 4 5 6 |
# File 'lib/project/ios9_fix_uialertcontroller.rb', line 3 def supportedInterfaceOrientations rmq.device.landscape? ? UIInterfaceOrientationMaskLandscape : UIInterfaceOrientationMaskPortrait # UIInterfaceOrientationMaskLandscape end |