Type Method

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 Symbols

class var areAnimationsEnabled: Bool

Returns a Boolean value indicating whether animations are enabled.

class func setAnimationsEnabled(Bool)

Sets whether animations are enabled.