Recently in a project, as a novice, a lot of iOS are not familiar with the development process, encountered a problem, is in the process of switching views (A---->b), b view of the navigation bar will disappear, in B in the right to return also have this phenomenon,
After careful analysis, I did not use the navigation controller of the current view, that is, a navigation controller to push to the B view, but instead use the other navigation controller.
In addition, when switching to a different view controller in Tabbarcontroller, you will find that Tabbar is always there, causing the controller to be like it is on the Tabbar,
At this point we only need to set
controller.hidesbottombarwhenpushed = YES; solve the problem
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Troubleshoot problems with the Controller navigation bar disappearing