UITraitCollection.FromVerticalSizeClass(UIUserInterfaceSizeClass) 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.
Creates a new UITraitCollection object where only the vertical size class has been specified.
[Foundation.Export("traitCollectionWithVerticalSizeClass:")]
public static UIKit.UITraitCollection FromVerticalSizeClass (UIKit.UIUserInterfaceSizeClass verticalSizeClass);
static member FromVerticalSizeClass : UIKit.UIUserInterfaceSizeClass -> UIKit.UITraitCollection
Parameters
- verticalSizeClass
- UIUserInterfaceSizeClass
The desired vertical size class to specify.
Returns
New instance of UITraitCollection with a single element specified.
- Attributes