您的位置:首页 > 产品设计 > UI/UE

What is a UINavigationTransitionView

2015-06-13 14:53 330 查看
**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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: