首页 > 其他 > 详细

What is a UINavigationTransitionView

时间:2015-06-13 15:37:39      阅读:211      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!