ios – 获取故事板的空本地化问题警告消息

ios – 获取故事板的空本地化问题警告消息,第1张

概述我正在使用 Xcode版本9.2,我试图删除派生数据,但仍然获得故事栏的空警告消息,如下图所示.如果警告是空的,我不知道是什么问题,任何想法如何解决这个问题? Update I have solve the warning by change the constraint from this 07001 Left constraint “Greater Than or Equal” with fi 我正在使用 Xcode版本9.2,我试图删除派生数据,但仍然获得故事栏的空警告消息,如下图所示.如果警告是空的,我不知道是什么问题,任何想法如何解决这个问题?

Update

I have solve the warning by change the constraint from this 07001

left constraint “Greater Than or Equal” with first item as TextVIEw.Leading and second item as SupervIEw.Leading.margin Right constraint “Greater Than or Equal” with first item as SupervIEw.Trailing.margin and second item as TextVIEw.Trailing

to this by just reverse first and second item for “2”

07002

left constraint “Greater Than or Equal” with first item as TextVIEw.Leading and second item as SupervIEw.Leading.margin Right constraint “Less Than or Equal” with first item as TextVIEw.Trailing and second item as SupervIEw.Trailing.margin

How ever I’m not sure why this will cause the empty warning message

解决方法 通过将对象间距的宽度从固定宽度更改为大于或等于或小于或等于,来使固定宽度警告静音.

这可以通过在界面构建器中选择对象,转到尺寸检查器并在那里更改它来完成:

或者,从文档大纲中选择约束,转到大小检查器,然后在其中进行更改:

修复了具有中心约束的前导约束和尾随约束可能导致剪切

这肯定会解决您所有的本地化问题:: Xcode 9 – Localization Issue Warning Storyboard

总结

以上是内存溢出为你收集整理的ios – 获取故事板的空本地化问题警告消息全部内容,希望文章能够帮你解决ios – 获取故事板的空本地化问题警告消息所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1005927.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-22
下一篇 2022-05-22

发表评论

登录后才能评论

评论列表(0条)

保存