init(languageOptions:defaultLanguageOption:allowEmptySelection:)
Creates a new language option group with the supplied language options.
Declaration
init(languageOptions: [MPNowPlayingInfoLanguageOption], defaultLanguageOption: MPNowPlayingInfoLanguageOption?, allowEmptySelection: Bool)Parameters
- languageOptions:
An array containing the language options to associate with the language option group.
- defaultLanguageOption:
The default language option for the group. Set this parameter to Nil 227m0 to denote there’s no default language option.
- allowEmptySelection:
A Boolean that indicates whether the system requires a selection for the language option group.
Return Value
A newly created language option group with the passed attributes.