Reputation: 46
I am making a ios app which has a slide out menu. I followed the following tutorial: http://www.appcoda.com/ios-programming-sidebar-navigation-menu/ without too much trouble.
However something I was left asking myself was how to include to navigation menu on every page of my application. What I mean by this is that if my menu takes me to a page, from there how would I make a link to a new page which will still have the menu. At the moment I see a back button at the top left.
Most tutorials I found stop there. I have a different controller for every page in my menu. And I use reveal view controller.
Upvotes: 1
Views: 864
Reputation: 14128
for (UIView *subview in containerView.subviews) { [suview removeFromSuperView]; } // then, add your new selected view [containerView addSubView: view2];
References:
Hope you have got what I am trying to convey.
Upvotes: 1