Exemplo n.º 1
0
        //
        // 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));
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            LightSwitchAgent.Init();

            return(true);
        }
Exemplo n.º 5
0
        private void AddLightSwitch()
        {
            LightSwitchAgent.Init();

            DidAddLightSwitch = true;
        }