An object that provides an animated transition between a layer's states.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
You can transition between a layer's states by creating and adding a
CATransition object to it. The default transition is a cross fade, but you can specify different effects from a set of predefined transitions.