/// <summary> /// Finished the launching. /// </summary> /// <param name="app">The app.</param> /// <param name="options">The options.</param> /// <returns>True or false.</returns> public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // Stamp the date this was installed (first run) StampInstallDate("CodeBucket"); this.Window = new UIWindow(UIScreen.MainScreen.Bounds); var presenter = new IosViewPresenter(this.Window); var setup = new Setup(this, presenter); setup.Initialize(); // Setup theme Theme.Setup(); var startup = Mvx.Resolve <IMvxAppStart>(); startup.Start(); this.Window.MakeKeyAndVisible(); UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false); UIApplication.SharedApplication.SetStatusBarHidden(false, UIStatusBarAnimation.Fade); return(true); }
/// <summary> /// Finished the launching. /// </summary> /// <param name="app">The app.</param> /// <param name="options">The options.</param> /// <returns>True or false.</returns> public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // Stamp the date this was installed (first run) StampInstallDate("CodeBucket"); var exceptionSubject = new Subject<Exception>(); RxApp.DefaultExceptionHandler = exceptionSubject; exceptionSubject.Subscribe(x => AlertDialogService.ShowAlert("Error", x.Message)); Window = new UIWindow(UIScreen.MainScreen.Bounds); Presenter = new IosViewPresenter(Window); new Setup(this, Presenter).Initialize(); // Setup theme Theme.Setup(); GoToStartupView(); Window.MakeKeyAndVisible(); return true; }
/// <summary> /// Finished the launching. /// </summary> /// <param name="app">The app.</param> /// <param name="options">The options.</param> /// <returns>True or false.</returns> public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // Stamp the date this was installed (first run) StampInstallDate("CodeBucket"); var exceptionSubject = new Subject <Exception>(); RxApp.DefaultExceptionHandler = exceptionSubject; exceptionSubject.Subscribe(x => AlertDialogService.ShowAlert("Error", x.Message)); Window = new UIWindow(UIScreen.MainScreen.Bounds); Presenter = new IosViewPresenter(Window); new Setup(this, Presenter).Initialize(); // Setup theme Theme.Setup(); GoToStartupView(); Window.MakeKeyAndVisible(); return(true); }
/// <summary> /// Finished the launching. /// </summary> /// <param name="app">The app.</param> /// <param name="options">The options.</param> /// <returns>True or false.</returns> public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // Stamp the date this was installed (first run) StampInstallDate("CodeBucket"); this.Window = new UIWindow(UIScreen.MainScreen.Bounds); var presenter = new IosViewPresenter(this.Window); var setup = new Setup(this, presenter); setup.Initialize(); // Setup theme Theme.Setup(); var startup = Mvx.Resolve<IMvxAppStart>(); startup.Start(); this.Window.MakeKeyAndVisible(); UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false); UIApplication.SharedApplication.SetStatusBarHidden(false, UIStatusBarAnimation.Fade); return true; }