Contents

init(userInterfaceLevel:)

Creates a trait collection that contains only the specified user interface level trait.

Declaration

init(userInterfaceLevel: UIUserInterfaceLevel)

Parameters

  • userInterfaceLevel:

    The user interface level for the trait collection. For a list of possible values, see Uiuserinterfacelevel.

Return Value

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

See Also

Creating a trait collection