Link Search Menu Expand Document

Right to Left Support

How to apply RTL

In order to apply right-to-left to your chat, you can define the UISemanticContentAttribute to forceRightToLeft on UIView inside AppDelegate didFinishLaunchingWithOptions.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    UIView.appearance().semanticContentAttribute = .forceRightToLeft
    return true

Note: To support other UIComponentes (e.g. UITableView) apply the same SemanticContentAttribute

Before After
1 1