title: Replace Parent View Controller
body: <p>I have following view controller hierarchy with Parent children relationship.</p>
  
  <p><strong>VC1 -- VC2 -- VC3 -- VC4 -- VC5</strong></p>
  
  <p>Each view controller is children of predecessor.</p>
  
  <p>I have used code -</p>
  
  <pre><code>   [parentVC addChildViewController:childVC];
  
     [childVC.view setFrame:parentVC.view.frame];
  
     [parentVC.view addSubview:childVC.view];
  
     [childVC didMoveToParentViewController:parentVC];
  </code></pre>
  
  <p>Now, I want <strong>to replace VC1 to another view controller, say VC0 in this hierarchy after an action from VC5</strong> i.e. After removing VC2, I want to have VC0 instead of VC1. How to achieve this?</p>