Class: AppDelegate
- Inherits:
-
Object
- Object
- AppDelegate
- Defined in:
- app/app_delegate.rb
Instance Method Summary collapse
Instance Method Details
#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'app/app_delegate.rb', line 2 def application(application, didFinishLaunchingWithOptions:launchOptions) return true if RUBYMOTION_ENV == 'test' @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) @window.rootViewController = A.new @window.rootViewController.wantsFullScreenLayout = true @window.makeKeyAndVisible true end |