// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); #if DEBUG LightSwitchAgent.Init(); #endif LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { Xamarin.Forms.Forms.Init(); LightSwitchAgent.Init(); Window = new UIWindow(UIScreen.MainScreen.Bounds); Window.RootViewController = new MyPage().CreateViewController(); Window.MakeKeyAndVisible(); ListIPAddresses(); return(true); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { Instance = this; Xamarin.Forms.FormsMaterial.Init(); Forms.SetFlags("CollectionView_Experimental"); Xamarin.Forms.Forms.Init(); ListIPAddresses(); new Continuous.Server.HttpServer().Run(); LightSwitchAgent.Init(new LightSwitch.Agent.Implementation.AgentOptions { TargetElementGetter = () => new MultiWindowGetter() }); return(true); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { LightSwitchAgent.Init(); return(true); }
private void AddLightSwitch() { LightSwitchAgent.Init(); DidAddLightSwitch = true; }