Bewerken

Delen via


UIFocusAnimationCoordinator.AddCoordinatedFocusingAnimationsAsync Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task AddCoordinatedFocusingAnimationsAsync (Action<UIKit.IUIFocusAnimationContext> animations);
abstract member AddCoordinatedFocusingAnimationsAsync : Action<UIKit.IUIFocusAnimationContext> -> System.Threading.Tasks.Task
override this.AddCoordinatedFocusingAnimationsAsync : Action<UIKit.IUIFocusAnimationContext> -> System.Threading.Tasks.Task

Parameters

animations
Action<IUIFocusAnimationContext>

The animations to run.This parameter can be .

Returns

A task that represents the asynchronous AddCoordinatedFocusingAnimations operation

Attributes

Applies to