码迷,mamicode.com
首页 > 其他好文 > 详细

What is a UINavigationTransitionView

时间:2015-06-13 15:40:55      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

**AFAIK UINavigationTransitionView is a class used to animate UINavigationController child views around. It usually contain one or two UIViewControllerWrapperView‘s , each of these containing your actual UIViewController.view If you subclass UINavigationController and override pushViewControllerAnimated: , you can log the hierarchy before and after calling [super pushViewControllerAnimated:], you‘ll notice the VC being pushed rect change from {0, 20, 320, 480} to {-320, 20, 320, 480} Although its nice to understand how it works, as it is private API, its very likely to change between iOS versions, so you should not make your rotation solution based on this behavior. Post a new question with the actual rotation issue and we can help you solve it, without using private API

 

**Very often, Apple uses private classes inside of public classes, to manage internal behavior. This is one of those cases. There‘s no public class called UINavigationTranstionView. I‘d either look elsewhere for the bug, or file a radar, if you are convinced that Apple‘s at fault. If you decide to continue to look at your code, consider posting some of that code and a description of your issue, here so we can help.

 

转:http://stackoverflow.com/questions/11510748/what-is-a-uinavigationtransitionview

What is a UINavigationTransitionView

标签:

原文地址:http://www.cnblogs.com/ygm900/p/4573515.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!