Baseflow / Xamarin-Sidebar

A slideout navigation control for Xamarin.iOS
https://baseflow.com
Apache License 2.0
113 stars 67 forks source link

NavigationItem not displayed in contentcontroller when using storyboard #73

Open mawarnes opened 7 years ago

mawarnes commented 7 years ago

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

mawarnes commented 7 years ago

hmmm I think what might be happening is that your sample is built for xamarin.forms?

jdehlin commented 7 years ago

There are multiple samples. Only one of them uses Xamarin.Forms.

mawarnes commented 7 years ago

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.