// This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // create a view controller dependent on the current device type if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad) { vc = new MainViewController("MainView-iPad"); } else { vc = new MainViewController("MainView-iPhone"); } // on screen ... window.AddSubview(vc.View); window.MakeKeyAndVisible (); return true; }
public FlipsideViewController(MainViewController parent) { _parent = parent; }