Example #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            mainViewController        = new MainViewController();
            window.RootViewController = mainViewController;
            window.MakeKeyAndVisible();

                        #if DEBUG
            // This is all you need to do.
            // If you are in release mode, this
            // call isn't made, and the Xamarin
            // linker will remove Calabash
            // from your app.
            Xamarin.Calabash.Start();
                        #endif

            return(true);
        }
Example #2
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			
			mainViewController = new MainViewController ();
			window.RootViewController = mainViewController;
			window.MakeKeyAndVisible ();
			
			#if DEBUG
			// This is all you need to do.
			// If you are in release mode, this
			// call isn't made, and the Xamarin
			// linker will remove Calabash
			// from your app.
			Xamarin.Calabash.Start();
			#endif

			return true;
		}