/// <summary> /// This the main entry point for the app on iOS /// </summary> public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { //Create our window Window = new UIWindow(UIScreen.MainScreen.Bounds); //Register some services ServiceContainer.Register(Window); ServiceContainer.Register <ISynchronizeInvoke>(() => new SynchronizeInvoke()); //Apply our UI theme Theme.Apply(); //Load our storyboard and setup our UIWindow and first view controller storyboard = UIStoryboard.FromName("MainStoryboard", null); Window.RootViewController = loginController = storyboard.InstantiateInitialViewController() as LoginController; Window.MakeKeyAndVisible(); return(true); }