編輯

共用方式為


UIFocusAnimationCoordinator.AddCoordinatedFocusingAnimations Method

Definition

Adds the provided animations to the coordinated animation, and runs a completion handler when the main animations complete.

[Foundation.Export("addCoordinatedFocusingAnimations:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddCoordinatedFocusingAnimations (Action<UIKit.IUIFocusAnimationContext> animations, Action completion);
abstract member AddCoordinatedFocusingAnimations : Action<UIKit.IUIFocusAnimationContext> * Action -> unit
override this.AddCoordinatedFocusingAnimations : Action<UIKit.IUIFocusAnimationContext> * Action -> unit

Parameters

animations
Action<IUIFocusAnimationContext>

The animations to run.

This parameter can be null.

completion
Action

A handler to run after the animation completes.

This parameter can be null.

Attributes

Applies to