UITraitCollection.Create(UIContentSizeCategory) Method

Definition

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.

Applies to