Sha256: bd357359d4701f31a8d85fda891c09caaf0245d83d21a29cbcbff71d74a9b7ab

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 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 = PresentModalController.new
    @window.rootViewController = UINavigationController.alloc.initWithRootViewController(ctlr)
    @window.rootViewController.wantsFullScreenLayout = true
    @window.makeKeyAndVisible

    true
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
teacup-1.3.1 app/app_delegate.rb
teacup-1.3.0 app/app_delegate.rb