class UIAlertController
Public Instance Methods
shouldAutorotate()
click to toggle source
# File lib/project/ios9_fix_uialertcontroller.rb, line 8 def shouldAutorotate true end
supportedInterfaceOrientations()
click to toggle source
# File lib/project/ios9_fix_uialertcontroller.rb, line 3 def supportedInterfaceOrientations rmq.device.landscape? ? UIInterfaceOrientationMaskLandscape : UIInterfaceOrientationMaskPortrait # UIInterfaceOrientationMaskLandscape end