故事板 - “圆形文本字段”的位置不明确。警告 [英] Storyboard - Position is ambiguous for "Round Style Text Field" Warning
问题描述
https://stackoverflow.com/a/16251810/2589276
我解决了上面的问题,但是当我按照我的指示行事时遇到了一个新问题。
现在我收到一条警告说:
I solved the problem above but got a new problem when I did the steps I was instructed to. Now I get a warning saying:
Position is ambiguous for "Round Style Text Field"
我也尝试为宽度设置固定约束,但没有修复此警告。
I tried setting fixed constraint for width also, but did not fix this warning.
任何想法?我应该为此问题提供任何其他信息吗?
Any ideas? Are there any other information I should give for this problem?
当我向x添加约束,领先空间约束(对于x)和垂直空间约束时,此屏幕截图底端。
This screen shot when I do add constraint to x, leading space constraint (for x) and vertical space constraint from the bottom.
我只是想为Y设置约束而不会收到警告,不管怎样我都不使用autolayout。
I just want to set constraint for the Y and not get warnings, I do not use autolayout anyways.
编辑:
当我尝试添加缺失约束时,会发生这种情况:
When I try to add missing constraints, this happens:
推荐答案
使用Xcode 5有一个添加缺失约束的选项。请参阅下面的截图:
With Xcode 5 there is an option to add missing constraints. Pls see the screenshot attached below:
这篇关于故事板 - “圆形文本字段”的位置不明确。警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!