Edit

Share via


UITraitCollection.FromPreferredContentSizeCategory 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