Chapter 8 Exercise (ePub page 375)

I am having a tough time figuring this out. Each time I try to remove the container view it removes all the objects in it. Resizing is not working for me either and I’m sure its just a case of not grasping a concept. How do we solve the exercise?

(I am ok with the concept of the background image and attaching that to the superview instead of the safe area).

@geezer What is it that you’re trying to do exactly? A container view is precisely that, it holds other items. So if you had a box of items in real life, and simply threw out the box, the items it holds would also be thrown out. If you’re trying to resize the container view, then you’re going to have to look at the auto layout constraints to change the size or position it differently.

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