UIViewController.WillTransitionToTraitCollection 方法

定义

通知 this 其特征集合将更改为 traitCollection,由 协调 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

参数

traitCollection
UITraitCollection

新的特征集合。

实现

属性

适用于