Ejemplo n.º 1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // create our window
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.MakeKeyAndVisible();

            // create the home screen and modify it's frame
            iPhoneHome            = new Example_TableParts.Screens.iPhone.Home.HomeScreen();
            iPhoneHome.View.Frame = new System.Drawing.RectangleF(0, UIApplication.SharedApplication.StatusBarFrame.Height, UIScreen.MainScreen.ApplicationFrame.Width, UIScreen.MainScreen.ApplicationFrame.Height);

            window.RootViewController = iPhoneHome;

            //
            return(true);
        }
Ejemplo n.º 2
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			// create our window
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();

			// create the home screen and modify it's frame
			iPhoneHome = new Example_TableParts.Screens.iPhone.Home.HomeScreen();
			iPhoneHome.View.Frame = new CoreGraphics.CGRect(0, UIApplication.SharedApplication.StatusBarFrame.Height, UIScreen.MainScreen.ApplicationFrame.Width, UIScreen.MainScreen.ApplicationFrame.Height);

			window.RootViewController = iPhoneHome;

			//
			return true;
		}