An optional value function that is applied to interpolated values.
SDKs
- iOS 3.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Animation
Declaration
var valueFunction: CAValue Function? { get set }
Discussion
If the value
property is not nil
, the function is applied to the values interpolated by the animation as they are applied to the presentation layer. Defaults to nil
.