What is a UINavigationTransitionView

**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

时间: 2024-08-02 02:10:24

What is a UINavigationTransitionView的相关文章

iOS自定义backBarButtonItem的点击事件

最近遇到一个关于导航栏返回按钮的问题,因为之前项目里面都是用的系统默认的返回按钮样式所以没有想过要去更改,后来有需要将返回按钮箭头旁边的文字去掉,同时将该返回按钮的点击事件重新定义.一开始尝试自定义按钮然后设置为leftBarButtonItem,但是这样图片可能跟系统自带的不一样,还有就是返回按钮的位置跟系统自带的不一样.后来找了一些资料,发现将文字去掉比较简单,一般做法是控制器中添加如下代码,然后他的下一级控制就有一个只有箭头没有文字返回按钮: UIBarButtonItem *backBt

iOS 在控制台console lldb 输出某个view 的层级结构

在控制台 LLDB   环境中 po  [self.view recursiveDescription] 就可以输出 该 view的层级结构 <UILayoutContainerView: 0x7ffc8a5dae30; frame = (0 0; 375 667); autoresize = W+H; gestureRecognizers = <NSArray: 0x7ffc90f07270>; layer = <CALayer: 0x7ffc90f15e10>> |

一周随笔--15.10.06

一周新知识点记录(15.10.06) 一.UIWindow的windowLevel (优先级) 我们在程序中获取通过[UIApplication sharedApplication].keyWindow获取到应用程序的主屏幕,其实并不一定是AppDelegate类中定义的那个window.首先了解UIWindow的一些概念: UIWindow是一种特殊的UIView,它也可以自定义,在程序中可以同时显示多个UIWindow对象(UIWindow对象通过makeKeyAndVisible方法显示出

UIView的层次结构–code

转:http://blog.dongliwei.cn/archives/uiview-tree-code // Recursively travel down the view tree, increasing the indentation level for children - (void)dumpView:(UIView *)aView atIndent:(int)indent into:(NSMutableString *)outstring { for (int i = 0; i <