configureWithDefault(for:)
Configures the bar button item appearance object with appropriate values for the specified button style.
Declaration
func configureWithDefault(for style: UIBarButtonItem.Style)Parameters
- style:
The button style. For a list of possible values, see Style Swift.enum.