title: Collectionview with embeded tableview is clipped when rotating screen
body: <p>I have created a collectionview with a tableview embeded into the collectionview cell. The idea is that the collectionview makes it able to scroll horizontal, while the tableview makes it able to scroll vertical for each section. Everything is set up in storyboard using autolayout, and works as it should, the only issue is that when i rotate the screen from portrait to landscape, the top if the collectionview or tableview is clipped.</p>
  
  <p>How it currently looks in Portait mode</p>
  
  <p><a href="https://i.stack.imgur.com/Fx9vI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fx9vI.png" alt="enter image description here"></a></p>
  
  <p>How it currently looks in Landscape mode (This is where the problem is)</p>
  
  <p><a href="https://i.stack.imgur.com/eEmQN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eEmQN.png" alt="enter image description here"></a></p>
  
  <p>I have attached two images: 1 from portait mode, which is how it should look like, and a second image of landscape mode, where the first item in the tableview and the tableview header is clipped. I suspect something in the view is not updated correct, but i am not sure what? </p>
  
  <p>Thanks in advance</p>