title: Container view segue to same size view controller
body: <p>I have the following Storyboard:</p>
  
  <p><a href="https://i.stack.imgur.com/swtD3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/swtD3.png" alt="enter image description here"></a></p>
  
  <p>So far, I could only achieve same size Third View Controller in the storyboard if I segue via show, but I would prefer custom method.</p>
  
  <p>My goal is, to segue from Second View Controller to Third View Controller and only replace the Second View Controller which is a Container View in the (First) View Controller.</p>
  
  <p>However the current output:</p>
  
  <p><a href="https://i.stack.imgur.com/LSb2x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LSb2x.png" alt="enter image description here"></a></p>
  
  <p>Expected output:</p>
  
  <p><a href="https://i.stack.imgur.com/j9UI2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j9UI2.png" alt="enter image description here"></a></p>
  
  <p>How can I achieve that?</p>
  
  <p>Thank you,</p>