Chapter 8 p157, having problems with the constrains

I am working on chapter 8, but having problems with the constrains. I followed the book’s instruction to select the background, and added constrains, but nothing changed at all. What did I do wrong?


04%20PM

Your background is sitting in the same UIView as the rest of your UI objects
image

It should be in it’s own UIView, - the other objects are embedded in a different UIView
image

Currently you have the constraints you set on the NEW container view applied to your UIImageView (background image)

See page 165:
image

The fix would be to do the above Embed In, making sure Background is not in that group. :+1:

Cheers!
Rebecca

2 Likes

This topic was automatically closed after 166 days. New replies are no longer allowed.