UIView.PerformWithoutAnimation(Action) Method

Definition

Applies a set of changes to a view with a guarantee that animations will not be used.

[Foundation.Export("performWithoutAnimation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void PerformWithoutAnimation (Action actionsWithoutAnimation);
static member PerformWithoutAnimation : Action -> unit

Parameters

actionsWithoutAnimation
Action

View transition code that is to be performed without animation.

Attributes

Remarks

The use of this method is discouraged. Application developers should prefer to use the UIViewPropertyAnimator class to animate UIViews.

Applies to