Case
AttributedString.WritingDirection.rightToLeft
iOS 26.0+
iPadOS 26.0+
Mac Catalyst 26.0+
macOS 26.0+
tvOS 26.0+
visionOS 26.0+
watchOS 26.0+
A right-to-left writing direction in horizontal script.
case rightToLeft
Discussion
Note
In vertical scripts, this equivalent to a bottom-to-top writing direction.