Instance Method

displayNameWithLocale:

Returns a string suitable for display using the specified locale.

Declaration

- (NSString *)displayNameWithLocale:(NSLocale *)locale;

Parameters

locale

The locale to use in generating the display name.

Return Value

A string containing the localized display name.

Discussion

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

displayName

A string suitable for display using the current system locale.

locale

The locale for which the media option was authored.

extendedLanguageTag

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