Sha256: 13a680ae4e198657a64f36a4df9a9c693020b36c9830ff990699d69414800dbf

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 Bytes

Contents

class AppDelegate

  def application(application, didFinishLaunchingWithOptions:launchOptions)
    return true if RUBYMOTION_ENV == 'test'

    application.setStatusBarHidden(true, withAnimation:UIStatusBarAnimationSlide)

    @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
    ctlr = MotionLayoutController.new
    @window.rootViewController = ctlr
    @window.rootViewController.wantsFullScreenLayout = true
    @window.makeKeyAndVisible

    true
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teacup-2.0.6 app/app_delegate.rb
teacup-2.0.5 app/app_delegate.rb
teacup-2.0.4 app/app_delegate.rb
teacup-2.0.3 app/app_delegate.rb
teacup-2.0.2 app/app_delegate.rb
teacup-2.0.0 app/app_delegate.rb