I had a searchbar that was inside it’s own view, but I took it out and now need to fix some broken constraints.

Screen Shot 2016-11-21 at 7.15.13 AM.png

To keep the search bar exactly where it is I am going to pin it on all sides and fix it’s height.

Screen Shot 2016-11-21 at 7.15.19 AM.png

It OK now. But now the other constraints are broken from surrounding components.

Screen Shot 2016-11-21 at 7.15.46 AM.png

Specifically the Y position

Screen Shot 2016-11-21 at 7.15.58 AM.png

We can fix that by simply giving each broken component a Y position relative to the search bar.

Screen Shot 2016-11-21 at 7.16.13 AM.png

 

Voila! Constraints fixed.