I have created an iPhone application with one UIViewController and designed it in storyboard. I've placed 3 UIImage each showing an image
Changing my system language interface to Hebrew, running the application & the images appear in mirror mode (reverse order) like this
In the size inspector I've removed the checkmark of Respect language direction
from all Horizontal, Trailing & Leading constraints
but that didn't help.
What other ways are there to disable/ or ignore language interface automatic corrections?
Thanks to @LenaBru I was pointed in the right direction
The solution: change all constraints that start with Horizontal, Trailing, Leading, Center to left right instead of trailing & leading.
Steps:
NOTE: You have to go rule by rule doing so and unfortunately there no way to select all constraints and change together
NOTE 2: if you have a storyboard per language then life is easier go to the correct storyboard and perform step 1 & 2 and change the direction
from trailing leading
to left right
. With this option you CAN select all constraints and change together
Edit for xcode 6.0 and above:
double click on the rule and remove the checkmark from respect language direction
this will change the constraint from horizontal/leading/trailing/ center to left/right
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With