---
title: "makeTextWritingDirectionRightToLeft(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiresponderstandardeditactions/maketextwritingdirectionrighttoleft(_:)"
---

# makeTextWritingDirectionRightToLeft(_:)

Changes the writing direction to right-to-left.

## Declaration

```swift
optional func makeTextWritingDirectionRightToLeft(_ sender: Any?)
```

## Parameters

- `sender`: The object calling this method.

## Discussion

Discussion Use this method to make your content adopt a right-to-left layout. Apply this layout information to text and to other visual elements in your interface.

## See Also

### Handling writing direction changes

- [makeTextWritingDirectionLeftToRight(_:)](uikit/uiresponderstandardeditactions/maketextwritingdirectionlefttoright(_:).md)
