Tagged articles
1 articles
Page 1 of 1
Tencent Music Tech Team
Tencent Music Tech Team
Dec 30, 2016 · Mobile Development

Understanding CAMediaTiming Protocol and Hierarchical Time Structure in iOS Animations

The CAMediaTiming protocol defines a hierarchical time system for CALayer and CAAnimation objects, where each layer owns a nested time space whose beginTime, speed, and timeOffset combine to compute active and basic local times, enabling developers to pause, offset, speed up, repeat, or auto‑reverse animations with precise control.

CAMediaTimingObjective‑Canimation timing
0 likes · 9 min read
Understanding CAMediaTiming Protocol and Hierarchical Time Structure in iOS Animations