Contents

init(userInterfaceIdiom:)

Creates a trait collection that contains only a specified interface idiom.

Declaration

init(userInterfaceIdiom idiom: UIUserInterfaceIdiom)

Parameters

  • idiom:

    A Uiuserinterfaceidiom value specifying the user interface idiom for the new trait collection.

Return Value

A new trait collection containing only a specified user interface idiom trait.

See Also

Creating a trait collection