Instance Property


A string suitable for display using the current system locale.


var displayName: String { get }


The string takes into account this option's common metadata, media characteristics, and locale properties in addition to the provided locale to formulate a string intended for display

See Also

Getting the Language and Locale Settings

func displayName(with: Locale) -> String

Returns a string suitable for display using the specified locale.

var locale: Locale?

The locale for which the media option was authored.

var extendedLanguageTag: String?

The IETF BCP 47 language tag associated with the option

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software