performWithoutAnimation(_:)
Disables a view transition animation.
Declaration
class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void)Parameters
- actionsWithoutAnimation:
The view transition code that you want to perform without animation.
See Also
Related Documentation
Animating views
animate(_:changes:completion:)animate(springDuration:bounce:initialSpringVelocity:delay:options:animations:completion:)animate(withDuration:delay:options:animations:completion:)animate(withDuration:animations:completion:)animate(withDuration:animations:)transition(with:duration:options:animations:completion:)transition(from:to:duration:options:completion:)animateKeyframes(withDuration:delay:options:animations:completion:)addKeyframe(withRelativeStartTime:relativeDuration:animations:)perform(_:on:options:animations:completion:)animate(withDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:)modifyAnimations(withRepeatCount:autoreverses:animations:)