Instance Property

baseWritingDirection

The base writing direction for the receiver.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(readonly, nonatomic) NSWritingDirection baseWritingDirection;
macOS
@property(readonly) NSWritingDirection baseWritingDirection;

Discussion

If you the value of this property is NSWritingDirectionNaturalDirection, the receiver resolves the writing direction to either NSWritingDirectionLeftToRight or NSWritingDirectionRightToLeft, depending on the direction for the user’s language preference setting.

See Also

Writing Direction

+ defaultWritingDirectionForLanguage:

Returns the default writing direction for the specified language.