Upravit

Sdílet prostřednictvím


UIPresentationController.WillTransitionToTraitCollection Method

Definition

Notifies this that its trait collection will change to traitCollection, as coordinated by coordinator.

[Foundation.Export("willTransitionToTraitCollection:withTransitionCoordinator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillTransitionToTraitCollection (UIKit.UITraitCollection traitCollection, UIKit.IUIViewControllerTransitionCoordinator coordinator);
abstract member WillTransitionToTraitCollection : UIKit.UITraitCollection * UIKit.IUIViewControllerTransitionCoordinator -> unit
override this.WillTransitionToTraitCollection : UIKit.UITraitCollection * UIKit.IUIViewControllerTransitionCoordinator -> unit

Parameters

traitCollection
UITraitCollection

The new trait collection.

Implements

Attributes

Applies to