public SummarySplitViewController() { TabBarItem.Image = UIImage.FromBundle("Images/first"); Title = "Summary"; details = new FlightDetailsViewController(); overview = new SummaryViewController(details); controllers = new UIViewController[] { new UINavigationController(overview), new UINavigationController(details), }; ViewControllers = controllers; }
public SummarySplitViewController() { TabBarItem.Image = UIImage.FromBundle ("Images/first"); Title = "Summary"; details = new FlightDetailsViewController (); overview = new SummaryViewController (details); controllers = new UIViewController[] { new UINavigationController (overview), new UINavigationController (details), }; ViewControllers = controllers; }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (overview != null) { overview.Dispose(); overview = null; } if (details != null) { details.Dispose(); details = null; } }
protected override void Dispose(bool disposing) { base.Dispose (disposing); if (overview != null) { overview.Dispose (); overview = null; } if (details != null) { details.Dispose (); details = null; } }