Defines how the spring’s motion should be damped due to the forces of friction.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
The default value of the
damping property is
10. Reducing this value reduces the energy loss with each oscillation: the animated value will overshoot the
to and the
settling may be greater than the
duration. Increasing the value increases the energy loss with each duration: there will be fewer and smaller oscillations and the
settling may be smaller than the duration.