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

            iPhoneHome            = new HomeScreen();
            iPhoneHome.Title      = "Pass Library";
            iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
                                                            , UIApplication.SharedApplication.StatusBarFrame.Height
                                                            , UIScreen.MainScreen.ApplicationFrame.Width
                                                            , UIScreen.MainScreen.ApplicationFrame.Height);

            navigation = new UINavigationController();
            navigation.PushViewController(iPhoneHome, false);
            window.RootViewController = navigation;

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

			iPhoneHome = new HomeScreen();
			iPhoneHome.Title = "Pass Library";
			iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
						, UIApplication.SharedApplication.StatusBarFrame.Height
						, UIScreen.MainScreen.ApplicationFrame.Width
						, UIScreen.MainScreen.ApplicationFrame.Height);

			navigation = new UINavigationController();
			navigation.PushViewController (iPhoneHome,false);
			window.RootViewController = navigation;

			return true;
		}