禁用自动布局本地化行为(RTL - 从右到左的行为) [英] Disable Autolayout Localization Behavior (RTL - Right To Left Behavior )

查看:141
本文介绍了禁用自动布局本地化行为(RTL - 从右到左的行为)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序在英语和阿拉伯语的本地化。

My application is localized in both English and Arabic.

不幸的是,有时不需要用于定位的自动布局行为。到那个,我的意思是扭转了开头和结尾的空格。我想覆盖此行为。有没有办法做到这一点?

Unfortunately, sometimes the autolayout behavior for localization is not required. By that, I mean reversing the leading and trailing spaces. I want to override this behavior. Is there any way to do that?

推荐答案

若要始终引领充当左(始终尾随像右),即让语言无关,你可以在尊重语言方向去掉勾选所有限制。

To make leading act always as left (and trailing always like right), i.e. make it language independent, you can remove checkmark on "Respect language direction" on all constrains.

您可以找到此勾选的第一项按钮,在属性检查约束的设置。

You can find this checkmark in constrain settings in the Attributes inspector under "First Item" button.

这篇关于禁用自动布局本地化行为(RTL - 从右到左的行为)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆