Setup AppCode to start Simulator in RTL mode


Question

How to make iOS Simulator work with Right-To-Left languages when it’s started from AppCode?

Answer

Paste these two parameters:

-AppleTextDirection YES 
-NSForceRightToLeftWritingDirection YES

into `program arguments’ in Run/Debug Configuration.

appcode-rtl-config

Keep in mind that if you kill the app and start it again in simulator, parameters wouldn’t be included for the new process. Thus the app will start in the common LTR mode. The only way to restart the app in RTL is to run the app from AppCode again.

See this post on my personal blog.