編輯

共用方式為


UICollectionViewLayout.PrepareForTransitionToLayout Method

Definition

Tells the layout object that it will shortly be removed as the layout for the UICollectionView.

[Foundation.Export("prepareForTransitionToLayout:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PrepareForTransitionToLayout (UIKit.UICollectionViewLayout newLayout);
abstract member PrepareForTransitionToLayout : UIKit.UICollectionViewLayout -> unit
override this.PrepareForTransitionToLayout : UIKit.UICollectionViewLayout -> unit

Parameters

Attributes

Applies to