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