Edytuj

Udostępnij za pośrednictwem


UIView.PerformSystemAnimation Method

Definition

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

[Foundation.Export("performSystemAnimation:onViews:options:animations:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void PerformSystemAnimation (UIKit.UISystemAnimation animation, UIKit.UIView[] views, UIKit.UIViewAnimationOptions options, Action parallelAnimations, UIKit.UICompletionHandler completion);
static member PerformSystemAnimation : UIKit.UISystemAnimation * UIKit.UIView[] * UIKit.UIViewAnimationOptions * Action * UIKit.UICompletionHandler -> unit

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.

completion
UICompletionHandler

Action object that is executed when the animation sequence ends.

Attributes

Applies to