public SplitController() : base() { // create our master and detail views matterDetail = new MatterDetail (this, masterView); masterView = new Finder (matterDetail); // create an array of controllers from them and then // assign it to the controllers property ViewControllers = new UIViewController[] { masterView, matterDetail }; // order is important }
private void startMatterMain() { Console.WriteLine ("AppDelegate - startMatterMain - normal work"); matterDetail = new MatterDetail (splitViewController, finder); var detailNavigationController = new UINavigationController (matterDetail); finder = new Finder (matterDetail); var masterNavigationController = new UINavigationController (finder); splitViewController.WeakDelegate = matterDetail; splitViewController.ViewControllers = new UIViewController[] { masterNavigationController, detailNavigationController }; }