I'm new to Auto Layout, so this might be a simple question to answer. I have two UIViewControllers that contain UITableViews that should automatically resize their cells. I am trying to use Auto Layout and new iOS 8 table cells for automatic calibration. There is a parent / child relationship between these tables: the parent table view displays the child table view in its cells.
The presentation of the children’s table seems to automatically depend on the size (at least for the cells). The problem is that the parent cell cannot determine the size of the view of the child table.
What I see in a debugging session is that the parent cell appears to be cropping the child view. To be more specific, when I check the hierarchy of views, I see that the view cells of the child tables are correctly configured, but the view of the child table seems to have the size of the parent cell (or some default value), and not its contents.
I have a play project that demonstrates the problem. I think this may have something to do with UIScrollView and Auto Layout. I read other posts on this topic that seem to be related. If so, I need some help figuring out how to apply this to my project.
source share