public override void ViewDidLoad() { Projects = new ProjectsController(NavigationController); Settings = new SettingsController(NavigationController); MyStories = new MyStoriesController(NavigationController); var projectsElement = new ImageStringElement ("Projects", Projects.PushViewController, Projects.Icon); projectsElement.Accessory = UITableViewCellAccessory.DisclosureIndicator; var settingsElement = new ImageStringElement ("Settings", Settings.PushViewController, Settings.Icon); settingsElement.Accessory = UITableViewCellAccessory.DisclosureIndicator; var myStoriesElement = new ImageStringElement ("My stories", MyStories.PushViewController, MyStories.Icon); myStoriesElement.Accessory = UITableViewCellAccessory.DisclosureIndicator; var menu = new RootElement ("Main menu") { new Section () { projectsElement, myStoriesElement, settingsElement } }; var dv = new DialogViewController (menu) { Autorotate = true }; NavigationController.PushViewController (dv, false); }