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); }
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; }