iOS10.0 TabBar Bug (bottom showing both native and custom TabBar)-B

Source: Internet
Author: User

In the absence of the release of IOS10, in any simulator test, the effect is normal, after the update iOS10, the test appears before the bug first put a bug:


Bugs that appear before you modify

After checking all the problems, the problem was finally located in the native system tabbar the bottom text is the same as the NAV navigation controller text, and then found the various controllers in the Nav title method:

Self.title = @ "Personal Center";

Change this method to:

[Email protected] "Personal center"; Bug resolved.


After resolving

In development, you should pay attention to the following methods:

When Self.navigationitem.title,self.tabbaritem.title does not have an assignment, the values and self.title are consistent, and here we should note that the two are two distinct methods.

iOS10.0 TabBar Bug (bottom showing both native and custom TabBar)-B

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.