Returns an array of strings that identify the animations currently attached to the layer.
SDKs
- iOS 3.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Animation
Returns an array of strings that identify the animations currently attached to the layer.
SDKs
Framework
func add(CAAnimation, for Key: String?)
Add the specified animation object to the layer’s render tree.
func animation(for Key: String) -> CAAnimation?
Returns the animation object with the specified identifier.
func remove All Animations()
Remove all animations attached to the layer.
func remove Animation(for Key: String)
Remove the animation object with the specified key.