UIView.PerformSystemAnimationAsync Method

Definition

Performs specified system-provided animation sequence on one or more views, together with user-defined parallel animations.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<bool> PerformSystemAnimationAsync (UIKit.UISystemAnimation animation, UIKit.UIView[] views, UIKit.UIViewAnimationOptions options, Action parallelAnimations);
static member PerformSystemAnimationAsync : UIKit.UISystemAnimation * UIKit.UIView[] * UIKit.UIViewAnimationOptions * Action -> System.Threading.Tasks.Task<bool>

Parameters

animation
UISystemAnimation

Defined UISystemAnimation to perform.

views
UIView[]

Views on which to to perform the animations.

options
UIViewAnimationOptions

Mask of options that indicates how the animations are to be performed.

parallelAnimations
Action

Additional animations specified to run alongside system animation.

Returns

A task that represents the asynchronous PerformSystemAnimation operation. The value of the TResult parameter is a UIKit.UICompletionHandler.

Attributes

Applies to