UIKit.UITraitCollection: Method Members

The methods of UIKit.UITraitCollection are listed below. For a list of all members, see the UITraitCollection Members list.

See Also: Inherited members from Foundation.NSObject

Public Methods

Contains(UITraitCollection) : bool
Probes whether this UITraitCollection contains all the traits specified.
Copy(Foundation.NSZone) : Foundation.NSObject
Performs a copy of the underlying Objective-C object.
EncodeTo(Foundation.NSCoder)
Encodes the state of the object on the provided encoder
static
FromDisplayScale(nfloat) : UITraitCollection
Creates a new UITraitCollection object where only the display scale has been specified.
static
FromHorizontalSizeClass(UIUserInterfaceSizeClass) : UITraitCollection
Creates a new UITraitCollection object where only the horizontal size class has been specified.
static
FromTraitsFromCollections(UITraitCollection[]) : UITraitCollection
Documentation for this section has not yet been entered.
static
FromUserInterfaceIdiom(UIUserInterfaceIdiom) : UITraitCollection
Creates a new UITraitCollection object where only the user interface idiom has been specified.
static
FromVerticalSizeClass(UIUserInterfaceSizeClass) : UITraitCollection
Creates a new UITraitCollection object where only the vertical size class has been specified.