UITraitCollection.Create(UIContentSizeCategory) 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 UITraitCollection with the specified UIContentSizeCategory.
public static UIKit.UITraitCollection Create(UIKit.UIContentSizeCategory category);
static member Create : UIKit.UIContentSizeCategory -> UIKit.UITraitCollection
Parameters
- category
- UIContentSizeCategory
The preferred content size category for the trait collection.
Returns
A new UITraitCollection configured with the specified content size category.