コード例 #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            v = new AppearanceViewController();
            navigationController = new UINavigationController();
            navigationController.PushViewController(v, false);


            UINavigationBar.Appearance.TintColor = UIColor.FromRGB(0, 127, 70);             // light green


            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.BackgroundColor = UIColor.FromRGB(240, 240, 240);
            window.Bounds          = UIScreen.MainScreen.Bounds;
            window.AddSubview(navigationController.View);
            window.MakeKeyAndVisible();
            return(true);
        }
コード例 #2
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			v = new AppearanceViewController();
			navigationController = new UINavigationController();
			navigationController.PushViewController (v, false);

			
			UINavigationBar.Appearance.TintColor = UIColor.FromRGB(0, 127, 70); // light green


			window = new UIWindow (UIScreen.MainScreen.Bounds);	
			window.BackgroundColor = UIColor.FromRGB(240,240,240);
			window.Bounds = UIScreen.MainScreen.Bounds;
			window.AddSubview(navigationController.View);
            window.MakeKeyAndVisible ();
			return true;
		}