Type Method

characterDirectionForLanguage:

Returns the direction of the sequence of characters in a line for the specified ISO language code.

Declaration

+ (NSLocaleLanguageDirection)characterDirectionForLanguage:(NSString *)isoLangCode;

Parameters

isoLangCode

The ISO language code.

Return Value

Returns the direction in which characters appear within a line in the specified language. See NSLocaleLanguageDirection for possible values. If the appropriate direction can’t be determined NSLocaleLanguageDirectionUnknown is returned.

See Also

Getting Line and Character Direction for a Language

+ lineDirectionForLanguage:

Returns the direction of the sequence of lines for the specified ISO language code.

NSLocaleLanguageDirection

The directions that a language may take across a page of text.

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