Storyboard - Position is ambiguous for “Round Style Text Field” Warning

蹲街弑〆低调 提交于 2019-12-21 16:49:08

问题


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?

This screen shot when I do add constraint to x, leading space constraint (for x) and vertical space constraint from the bottom.

I just want to set constraint for the Y and not get warnings, I do not use autolayout anyways.

Edit:

When I try to add missing constraints, this happens:


回答1:


With Xcode 5 there is an option to add missing constraints. Pls see the screenshot attached below:



来源:https://stackoverflow.com/questions/21295136/storyboard-position-is-ambiguous-for-round-style-text-field-warning

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!