Modifica

Condividi tramite


UICollectionView.StartInteractiveTransitionAsync Method

Definition

Overloads

StartInteractiveTransitionAsync(UICollectionViewLayout)

Changes the UICollectionView's layout using an interactive transition.

StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout)

Asynchronously starts an interactive transition to the new layout, with a reference to the result.

StartInteractiveTransitionAsync(UICollectionViewLayout)

Changes the UICollectionView's layout using an interactive transition.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult> StartInteractiveTransitionAsync (UIKit.UICollectionViewLayout newCollectionViewLayout);
abstract member StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>
override this.StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>

Parameters

newCollectionViewLayout
UICollectionViewLayout

The new layout object for the collected views.

Returns

A task that represents the asynchronous StartInteractiveTransition(UICollectionViewLayout, UICollectionViewLayoutInteractiveTransitionCompletion) operation.

Attributes

Applies to

StartInteractiveTransitionAsync(UICollectionViewLayout, UICollectionViewTransitionLayout)

Asynchronously starts an interactive transition to the new layout, with a reference to the result.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult> StartInteractiveTransitionAsync (UIKit.UICollectionViewLayout newCollectionViewLayout, out UIKit.UICollectionViewTransitionLayout result);
abstract member StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout *  -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>
override this.StartInteractiveTransitionAsync : UIKit.UICollectionViewLayout *  -> System.Threading.Tasks.Task<UIKit.UICollectionViewTransitionResult>

Parameters

newCollectionViewLayout
UICollectionViewLayout

The new layout object for the collected views.

result
UICollectionViewTransitionLayout

Action executed when the layout transition finishes.

Returns

A task that represents the asynchronous StartInteractiveTransition(UICollectionViewLayout, UICollectionViewLayoutInteractiveTransitionCompletion) operation.

Attributes

Applies to