lib/ProMotion/cocoatouch/navigation_controller.rb in ProMotion-1.1.2 vs lib/ProMotion/cocoatouch/navigation_controller.rb in ProMotion-1.2.0
- old
+ new
@@ -1,15 +1,15 @@
module ProMotion
- class NavigationController < UINavigationController
- def shouldAutorotate
- visibleViewController.shouldAutorotate
- end
+ class NavigationController < UINavigationController
+ def shouldAutorotate
+ visibleViewController.shouldAutorotate
+ end
- def supportedInterfaceOrientations
- visibleViewController.supportedInterfaceOrientations
- end
+ def supportedInterfaceOrientations
+ visibleViewController.supportedInterfaceOrientations
+ end
- def preferredInterfaceOrientationForPresentation
- visibleViewController.preferredInterfaceOrientationForPresentation
- end
- end
+ def preferredInterfaceOrientationForPresentation
+ visibleViewController.preferredInterfaceOrientationForPresentation
+ end
+ end
end