Sha256: 0c48b492869acd8e59478367acab9164acf94261524795d2ec7369057879d7da

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 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 = ConstraintsController.new
    @window.rootViewController = ctlr
    @window.rootViewController.wantsFullScreenLayout = true
    @window.makeKeyAndVisible

    true
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teacup-1.3.4 app/app_delegate.rb
teacup-1.3.3 app/app_delegate.rb
teacup-1.3.2 app/app_delegate.rb