UIPresentationController.TraitCollectionDidChange(UITraitCollection) 方法

定义

在指定的当前特征集合更改时执行自定义行为。

[Foundation.Export("traitCollectionDidChange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void TraitCollectionDidChange (UIKit.UITraitCollection previousTraitCollection);
abstract member TraitCollectionDidChange : UIKit.UITraitCollection -> unit
override this.TraitCollectionDidChange : UIKit.UITraitCollection -> unit

参数

previousTraitCollection
UITraitCollection

实现

属性

适用于