UITraitCollection.FromPreferredContentSizeCategory 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.
Static factory method to create a UITraitCollection with the specified UIContentSizeCategory.
public UIKit.UITraitCollection FromPreferredContentSizeCategory (UIKit.UIContentSizeCategory category);
member this.FromPreferredContentSizeCategory : UIKit.UIContentSizeCategory -> UIKit.UITraitCollection
Parameters
- category
- UIContentSizeCategory
The desired UIContentSizeCategory.