init(style:)
Creates an appearance with default values that are appropriate for the specified button style.
Declaration
init(style: UIBarButtonItem.Style)Parameters
- style:
The button style. UIKit uses this value to configure the default appearance attributes. For a list of possible values, see Style Swift.enum.
Return Value
A new bar button item appearance object containing the default appearances for the specified button style.