UITraitCollection.FromPreferredContentSizeCategory(UIContentSizeCategory) UITraitCollection.FromPreferredContentSizeCategory(UIContentSizeCategory) Method

Definition

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

Returns

Applies to