public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            if (_window.RootViewController == null)
                _bootstrapper.Start();

            // make the window visible
            _window.MakeKeyAndVisible();

            return true;
        }
Exemple #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            InitializeIfNeed();
            if (!_isRestored)
            {
                _bootstrapper.Start();
            }

            // make the window visible
            Window.MakeKeyAndVisible();
            return(true);
        }
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
            //Window = new UIWindow(UIScreen.MainScreen.Bounds);

            // If you have defined a root view controller, set it here:
            // Window.RootViewController = myViewController;

            // make the window visible
            //Window.MakeKeyAndVisible();

            if (Window.RootViewController == null)
            {
                _bootstrapper.Start();
            }

            // make the window visible
            Window.MakeKeyAndVisible();

            return(true);
        }