How can one change the height of the container view dynamically depending on the amount of images of its childView?
Asked
Active
Viewed 1,906 times
1 Answers
0
It's a view like any other view, so you change it in the same way. You'll need to arrange to get a reference to it. When you set things up in the storyboard like this, you get an extra level of hierarchy that you wouldn't get if you created the parent-child view-controller architecture by hand (in code): there is a container view and inside that is the child view controller's view, whereas if you do it in code, there is no container view - the child view controller's view is all there is.

matt
- 515,959
- 87
- 875
- 1,141
-
@matt Could you please elaborate on the actual answer to this? How does one go about adjusting the size of the container view, when the Embedded View Controller's contents change? Thank you. – Womble Jul 17 '15 at 05:35