public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions) { if (Window == null) { Window = new UIWindow(UIScreen.MainScreen.Bounds); } var instance = MvxIosSetupSingleton.EnsureSingletonAvailable(this, Window); instance.EnsureInitialized(); RunAppStart(launchOptions); FireLifetimeChanged(MvxLifetimeEvent.Launching); return(base.FinishedLaunching(uiApplication, launchOptions)); }
public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions) { if (Window == null) { Window = new UIWindow(UIScreen.MainScreen.Bounds); } var instance = MvxIosSetupSingleton.EnsureSingletonAvailable(this, Window); instance.EnsureInitialized(); RunAppStart(launchOptions); instance.PlatformSetup <MvxFormsIosSetup>().FormsApplication.SendStart(); FireLifetimeChanged(MvxLifetimeEvent.Launching); //TODO: we don't call base for now, but we might need to as soon as Forms opens up return(true); }
protected virtual void LoadFormsApplication() { var instance = MvxIosSetupSingleton.EnsureSingletonAvailable(this, Window); LoadApplication(instance.PlatformSetup <MvxFormsIosSetup>().FormsApplication); }