Sets the timing function of the animation for a given view. If not used, Motion will use determine the timing function based on whether or not the view is entering or exiting the screen.
Sets the view's timing function for the animation.
- Parameters:
- Parameter _ timingFunction: A CAMediaTimingFunction.
- timingFunction: timing function of the animation
(iOS 9+) Use spring animation with custom stiffness & damping. The duration will be automatically calculated. Will be ignored if arc, timingFunction, or duration is set.
Available in iOS 9+, animates a view using the spring API,