Initializer

init(barAppearance:)

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

Declaration

init(barAppearance: UIBarAppearance)

Parameters

barAppearance

The bar appearance object from which to copy the relevant properties.

Return Value

A new bar appearance object containing the relevant properties from the other object.

Discussion

This method copies over the properties from barAppearance that are also relevant to the new bar appearance object.

See Also

Creating a Custom Bar Appearance

init(idiom: UIUserInterfaceIdiom)

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

init()

Creates a new bar appearance object containing default values.