MoathOthman / MOLH

Localization helper for iOS apps mainly focusing on the LTR/RTL issue
MIT License
117 stars 36 forks source link

Prevent UIStackView from flipping #39

Closed i0sa closed 4 years ago

i0sa commented 5 years ago

I tried using the maximumLocalizableTag option for stackview, and it never worked, I can't prevent it from flipping, i also looked up MOLH and didn't see any integration with stackviews, How can i prevent MOLH from flipping a stackview ? not even setting semanticContentAttribute works.

MoathOthman commented 5 years ago

hey @i0sa
if you are using autolayout , then click on the left and right constraints and from the inspector uncheck "respect language direction" option. the flipping MOLH does is for the content only.

please let me know if that helps. and if my response is not clear let me know as well.