title: The last Row of TableView in a ContainerView is Hidden Behind TabBar
body: <p>Building an app that has tabbar. One of the tab, I need to use container view because I'm switching between three table view. That switching works well, so I will not show you those code to be clear. However, those tables are hidden behind tabbar. Like:
  <img src="https://i.stack.imgur.com/WJYiI.png" alt="enter image description here"></p>
  
  <p>I'm using storyboard and the container view is such that:
  <img src="https://i.stack.imgur.com/eCESE.png" alt="enter image description here"></p>
  
  <p>So here I put intentionally container to the top of tabbar, because I don't want overlapping. Then with using these codes, I thought that would help me to find the bound of container and set it to the tableView:</p>
  
  <p><img src="https://i.stack.imgur.com/CIQ65.png" alt="enter image description here"></p>
  
  <p>The code line <code>vc.view.frame = self.contentView.bounds;</code> is what I'm telling. But that doesn't work at all, clearly, since table is still behind the tabbar.</p>
  
  <p>There are solutions I found on internet, such as setting consentInsent of tableView in <code>viewDidLoad</code>, unchecking some properties of tabbar and making tabbar opaque. None of those worked. The reason I'm asking it this basically. I had to because I can't find a solution worked for my case.</p>
  
  <p>Hope you can see the problem and help me to figure it out.</p>
  
  <p>Please ask me if you need more information / explanation.</p>
  
  <p>Any suggestions would be appreciated.</p>
  
  <p>Thanks!</p>