Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode 6 - red constraints

I have been trying to tackle constraints recently. I have a mildly complex view. When connecting my constraints some of my constraints turn red. Simulator still runs, but my labels and buttons are not in place. Why are constraints red?

like image 660
parker88 Avatar asked May 22 '15 00:05

parker88


1 Answers

It's indicating that there is a problem with your layout. Either your views are not properly positioned, there is an unresolvable conflict between your constraints, or some properties are ambiguous because constraints are missing.

If you look at the inner left pane there will be a little yellow or red circle with an arrow in it. If you click that, it will list all the issues for you.

enter image description here

like image 99
i_am_jorf Avatar answered Oct 11 '22 06:10

i_am_jorf