Two-stage rotation animation is deprecate warning

Source: Internet
Author: User

When uinavigationcontroller and uitabbarcontroller are connected with relation segue (uinavigationcontroller as the root), the following message is displayed:

Two-stage rotation animation is deprecate. This application shocould use the smoother single-stage animation.


Solution:

Uinavigationcontroller should not be associated as the root of uitabbarcontroller, but should be used as the root association of the uitabbarcontroller sub-viewcontroller (while the root of uinavigationcontroller is uitabbarcontroller ). Assume that uitabbarcontroller has two sub-viewcontrollers, press and hold the ctrl key to connect them:

-------------------------

Uitabbarcontroller

->

The first uinavigationcontroller

->

First uiviewcontroller

-------------------------

Uitabbarcontroller

->

Second uinavigationcontroller

->

Second uiviewcontroller

-------------------------

That is to say, you need to create a corresponding number of uinavigationcontroller.

Select relationship segue-Root View Controller for all connection methods.



This article from the "weimingtom heart-to-heart" blog, please be sure to keep this source http://weimingtom.blog.51cto.com/5787478/1560955

Two-stage rotation animation is deprecate warning

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.