Home > database >  Xcode view AutoLayout issues
Xcode view AutoLayout issues

Time:09-16

Does anyone know how to view the AutoLayout issues in Xcode's view debugger? In the view hierarchy window, I get the following showing "4 issues" for my button component, but how do I find out what those four issues are? It cannot be clicked on and when I expand the element, none of the child views are showing any issues. I cannot seem to find anything that explains how to find out what the four issues are.

enter image description here

CodePudding user response:

If you see this warning icon:

enter image description here

You should also see a purple warning Triangle icon at the top:

enter image description here

Depending on the issue, you may also see the explanation in the Inspector pane:

enter image description here

  • Related