I am trying to work with the Clancey FlyoutNavigation, however I can't get it to perform a segue.
I want it to work like a navigation menu, so if I press on "Start" it goes to a certain view on my storyboard
here is my current code, but it does not work at all.
var navigation = new FlyoutNavigationController {
// Create the navigation menu
NavigationRoot = new RootElement ("Navigation") {
new Section ("Pages") {
new StringElement ("Start"),
}
},
// Supply view controllers corresponding to menu items:
ViewControllers = new [] {
new UIViewController { this.PerformSegue("toError", this) },
},
};
// Show the navigation view
navigation.ToggleMenu ();
View.AddSubview (navigation.View);