I have a UITableView embedded in a Container view, however, I want to have that update and resize based on the size of the UITableView. I have tried to use preferredContentSizeDidChangeForChildContentContainer() but it doesn't look like a Container View is a UIContentContainer? I'm not really sure how to trigger this so that my UITableView is not cut off, as I don't want it to scroll I was it to look all static. Here is a picture of what I have here.
Any suggestions on what I could do, or is there an observer I could use?