title: iOS: Programmatically calling Container View
body: <p>Before the <code>Main</code> View Controller is called, through a delegate I'll notify <code>Main</code> View Controller whether to call <code>TVC1</code> or <code>TVC2</code> in <code>Container View</code>.</p>
  
  <p>Question: How can I programmatically tell the <code>Container View</code> in <code>Main View Controller</code> to call <code>TVC1</code>  or <code>TVC2</code>?  </p>
  
  <pre><code>TVC1 *tvc1 = [self.storyboard instantiateViewControllerWithIdentifier:@"TVC1"]; 
  TVC2 *tvc2 = [self.storyboard instantiateViewControllerWithIdentifier:@"TVC2"];
  </code></pre>
  
  <p>Where and how do I tell the <code>Container View</code> to <code>load</code> one of these controllers upon loading <code>Main</code> View Controller? </p>
  
  <p><img src="https://i.stack.imgur.com/h4wxZ.png" alt="enter image description here"></p>