How to test right-to-left language in iOS XCTest unit tests?
问题 Is there a way to switch an XCTest unit test into the right-to-left mode to test Arabic version of the app where sentences are written from right to left of the screen? My app code logic behaves differently based on language direction. I would like to verify this functionality in a unit test. What I need to do is to switch the app into the right-to-left language mode from an XCTest unit test case. One can run the app in the right-to-left mode by changing the Scheme's Application language