zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    leetcode——91.解码方法
    leetcode——64.最小路径和
    Layui上传图片2.0版
    LINQ中判断日期时间段
    Http基础
    Js中数组,字符串的常用方法
    C#数组,ArrayList,List区别
    08-01 通过线性回归了解算法流程
    08-00 课程习得
    C-02 推荐系统
  • 原文地址:https://www.cnblogs.com/ygm900/p/4573515.html
Copyright © 2011-2022 走看看