コード例 #1
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Override point for customization after application launch.
            // If not required for your application you can safely delete this method

            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            navigationController      = new UINavigationController(new MainViewController());
            Window.RootViewController = navigationController;
            Window.MakeKeyAndVisible();

            TagManager.Configure();
            App.Configure();

            return(true);
        }
コード例 #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Override point for customization after application launch.
            // If not required for your application you can safely delete this method

            // You can download your GoogleService-Info.plist file following the next link:
            // https://firebase.google.com/docs/ios/setup
            if (!GoogleServiceInfoPlistHelper.FileExist())
            {
                Window = GoogleServiceInfoPlistHelper.CreateWindowWithFileNotFoundMessage();
                return(true);
            }

            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            navigationController      = new UINavigationController(new MainViewController());
            Window.RootViewController = navigationController;
            Window.MakeKeyAndVisible();

            TagManager.Configure();
            App.Configure();

            return(true);
        }