Set should_autorotate to true by default

This commit is contained in:
Jamon Holmgren
2013-02-21 23:50:54 -08:00
parent 5b32bf8d2a
commit baba7dcd3a
3 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ module ProMotion
true
end
def app_delegate
UIApplication.sharedApplication.delegate
end

View File

@@ -159,7 +159,7 @@ module ProMotion
end
def should_autorotate
false
true
end
def on_rotate

View File

@@ -1,6 +1,7 @@
module ProMotion
class Screen < ViewController
# You can inherit a screen from any UIViewController if you include the ScreenViewController module
# Just make sure to implement the Obj-C methods in _cocoatouch/ViewController.rb.
include ProMotion::ScreenModule
end
end