Contents

init(legibilityWeight:)

Creates a trait collection that contains only the specified legibility weight trait.

Declaration

init(legibilityWeight: UILegibilityWeight)

Parameters

  • legibilityWeight:

    The legibility weight for the trait collection. For a list of possible values, see UILegibilityWeight.

Return Value

A new trait collection containing only the user interface level trait.

See Also

Creating a trait collection