Edytuj

Udostępnij za pośrednictwem


UICollectionViewController.TransitionLayout Method

Definition

The UICollectionViewTransitionLayout associated with this UIColllectionViewController.

[Foundation.Export("collectionView:transitionLayoutForOldLayout:newLayout:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewTransitionLayout TransitionLayout (UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout fromLayout, UIKit.UICollectionViewLayout toLayout);
abstract member TransitionLayout : UIKit.UICollectionView * UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayout -> UIKit.UICollectionViewTransitionLayout
override this.TransitionLayout : UIKit.UICollectionView * UIKit.UICollectionViewLayout * UIKit.UICollectionViewLayout -> UIKit.UICollectionViewTransitionLayout

Parameters

collectionView
UICollectionView

Collection view managed by this view controller.

fromLayout
UICollectionViewLayout

Starting point for the specified transition, typically the current layout for the collection view.

toLayout
UICollectionViewLayout

The collection view's new layout.

Returns

Returns the UICollectionViewTransitionLayout.

Attributes

Applies to