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