Returns the direction of the sequence of lines for the specified ISO language code.
SDKs
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
+ (NSLocale Language Direction)lineDirectionForLanguage:(NSString *)isoLangCode;
Parameters
isoLangCode
The ISO language code.
Return Value
Returns the direction in which lines appear in the specified language. See NSLocale
for possible values. If the appropriate direction can’t be determined NSLocale
is returned.