0

Is there any simple way to support the right to left languages in iOS? First way I can think of is redesigning the views/xibs, but that takes too much time for the whole app. Is there an easier way?

Rengers
  • 14,911
  • 1
  • 36
  • 54
  • see this for help : https://stackoverflow.com/questions/52203442/ios-how-to-restart-app-for-changing-language-swift-4/52203769#52203769 – Anbu.Karthik Nov 22 '18 at 07:52
  • 1
    Possible duplicate of [Changing to right to left RTL programmatically](https://stackoverflow.com/questions/35151038/changing-to-right-to-left-rtl-programmatically) – Pankaj K. Nov 22 '18 at 09:59

1 Answers1

1

try

In AppDelegate

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

    UIView.appearance().semanticContentAttribute = .forceRightToLeft

    return true
}

Let us know .. is working ?