I have a side menu that slides out to display a table view and from there I have segues that use the reveal view controller. The segue has to connect directly to the view controller; I can't use a navigation controller.
How do I add a navigation bar with a bar button item without a navigation controller?
Best Answer
While there are several smart ways to answer your question. I just solved it programmatically and wrote the following code in my
viewWillAppear
(note -viewDidLoad
is also okay, but not suggested) -So, you have a white navigation bar with blue bar button items without a Navigation controller. Again, there are other ways to implement it in your case. Hope, this was helpful.
Output -
Update -
To add images -