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

我正在使用
Xcode版本9.2,我试图删除派生数据,但仍然获得故事栏的空警告消息,如下图所示.如果警告是空的,我不知道是什么问题,任何想法如何解决这个问题?

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

Update

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

  1. Left constraint “Greater Than or Equal” with first item as TextView.Leading and second item as Superview.Leading.Margin
  2. 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

  1. Left constraint “Greater Than or Equal” with first item as TextView.Leading and second item as Superview.Leading.Margin
  2. 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

最佳答案 通过将对象间距的宽度从固定宽度更改为大于或等于或小于或等于,来使固定宽度警告静音.

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

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

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

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

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

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

点赞