iOS flash from the current hidden navigation interface push to the next display navigation

Source: Internet
Author: User

This article reprinted to http://blog.csdn.net/woaifen3344/article/details/41284319 Navios

If a friend encounters a flashing question from the current hidden navigation interface push to the next display navigation interface,

Here's a scenario I wrote that called a display navigation bar in the life cycle function of Loadview,

Can solve this problem:

[OBJC]View Plaincopyprint?
    1. -(void) Loadview {
    2. [Super Loadview];
    3. [self. Navigationcontroller Setnavigationbarhidden:NO animated:YES];
    4. return;
    5. }

I think most of my friends show the navigation bar in the Viewwillappear or Viewdidload life cycle function, in fact, this effect

Not very good!

iOS flash from the current hidden navigation interface push to the next display navigation

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.