UIScreen.TraitCollectionDidChange(UITraitCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method invoked when the trait collection for the view controller changed.
[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
Parameters
- previousTraitCollection
- UITraitCollection
The previous set of traits. When this method is invoked, the TraitCollection property has already been updated to reflect the new active traits.
Implements
- Attributes