【问题标题】:UIView animations, are they using "Core Animation"UIView 动画,它们是否使用“核心动画”
【发布时间】:2012-03-03 09:44:43
【问题描述】:

我试图了解各种图形框架的基本点。 UIView 动画在技术上是 Core Animation 的一个特性还是完全不同的系统?区分两者的界限在哪里?

【问题讨论】:

    标签: objective-c uiview core-animation


    【解决方案1】:

    CoreAnimation 框架低于UIKit,因此可以安全地假设UIKit 动画是简单地从CoreAnimation 动画构建的,而不是重新实现它们自己的动画逻辑。下面是来自 Apple 演讲(Session 409 - Using the Camera with AV Foundation - 2010)的图表,展示了它的放置方式

                  +--------------+
                  |     UIKit    |
                  +--------------+
    
    ------------------------------------------------
    
                  +--------------+
                  | AVFoundation |
                  +--------------+
    
    +-----------+ +--------------+ +---------------+
    | CoreAudio | |  CoreMedia   | | CoreAnimation |
    +-----------+ +--------------+ +---------------+
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-21
      相关资源
      最近更新 更多