Szerkesztés

Megosztás a következőn keresztül:


UICollectionView.StartInteractiveTransition Method

Definition

Changes the UICollectionView's layout using an interactive transition.

[Foundation.Export("startInteractiveTransitionToCollectionViewLayout:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewTransitionLayout StartInteractiveTransition (UIKit.UICollectionViewLayout newCollectionViewLayout, UIKit.UICollectionViewLayoutInteractiveTransitionCompletion completion);
abstract member StartInteractiveTransition : UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayoutInteractiveTransitionCompletion -> UIKit.UICollectionViewTransitionLayout
override this.StartInteractiveTransition : UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayoutInteractiveTransitionCompletion -> UIKit.UICollectionViewTransitionLayout

Parameters

newCollectionViewLayout
UICollectionViewLayout

The new layout object for the collected views.

completion
UICollectionViewLayoutInteractiveTransitionCompletion

A completion handler action to execute after all other operations are finished.

Returns

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

Attributes

Applies to