Initializer

init(idiom:)

Creates a new bar appearance object that targets the specified idiom.

Declaration

init(idiom: UIUserInterfaceIdiom)

Parameters

idiom

The device idiom to target. If you specify an idiom that doesn't make sense for the current device, this method adjusts the idiom to an appropriate value.

Return Value

A new bar appearance object containing default values for the specified idiom.

See Also

Creating a Custom Bar Appearance

init(barAppearance: UIBarAppearance)

Creates a new bar appearance object by copying relevant data from the specified appearance object.

init()

Creates a new bar appearance object containing default values.