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.