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 co
be very careful about adding in "viewWillAppear", as this method can be called more times, (for example is a modal appears....) so use a lazy approach:
1) declare a var:
var myNav: UINavigationBar?
2) test if already set:
viewWillAppear:(BOOL)animated {
if self.myNav != nil{
return
}
self.myNav = ....
3) be sure remove exiting controller, for example on didDisappear...
note.. is not correct to specify size.. if iOS rotates, it does not work fine..