Troubleshoot problems with the Controller navigation bar disappearing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.