Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationItem not displayed in contentcontroller when using storyboard #73

Open
mawarnes opened this issue Jan 31, 2017 · 3 comments
Open

Comments

@mawarnes
Copy link

mawarnes commented Jan 31, 2017

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
Copy link
Author

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

@jdehlin
Copy link
Collaborator

jdehlin commented Jan 31, 2017

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

@mawarnes
Copy link
Author

mawarnes commented Feb 1, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants