lib/ProMotion/cocoatouch/NavigationController.rb in ProMotion-0.7.1 vs lib/ProMotion/cocoatouch/NavigationController.rb in ProMotion-0.7.2
- old
+ new
@@ -1,4 +1,7 @@
module ProMotion
class NavigationController < UINavigationController
+ def shouldAutorotate
+ visibleViewController.shouldAutorotate
+ end
end
-end
\ No newline at end of file
+end