Xamarin-Sidebar
Xamarin-Sidebar copied to clipboard
NavigationItem not displayed in contentcontroller when using storyboard
My project uses the storyboard to create screens, along with NavigationControllers. Everything works fine except the NavigationItem is not displayed in the ContentController....I think I might be missing something really obvious, or do the NavigationControllers get stomped on in the SideBar constructor?
What i'm trying to do is recreate your example where you have a contentcontroller with a navigationbar that slides across to make way for the menucontroller, but I cannot figure out where/how to add the navigationitem to the contentcontroller. If I add it to the rootcontroller the the navigationbar does not move when the menu sldies across
hmmm I think what might be happening is that your sample is built for xamarin.forms?
There are multiple samples. Only one of them uses Xamarin.Forms.
okay thanks, I think I was expecting the functionality to be slightly different, where the menu worked more like a tabbarcontroller, and each contentcontroller could have it's own navigationcontroller. In you example the comment page has a 'back' button at the top which doesn't really make sense to me. It looks as though you're driving the navigation controller from the menu. Have you considered this?
I did run your sample code and there was a warning that the app might slow down the iphone.