title: Use Navigation View Controller for navigation between Subviews
body: <p>I have a MainViewController which cover's whole screen on iPad and i have three subviews each having frame = (0,0,1024,150)<br>
  The required config of subviews and segue between them is being done in storyboard.<br>
  I want to present subviews on top of the screen using navigationViewController...<br>
  i am using this code to do it.....</p>
  
  <pre><code>UINavigationController *nvc = [[UINavigationController alloc] initWithRootViewController:myViewController];
  nvc.view.frame = CGRectMake(0, 0, 1024, 150);
  [self.view addSubview:nvc.view];
  </code></pre>
  
  <p>myViewController is the initial view i want to have in navigation view  </p>
  
  <p>code is working fine only problem i have is the views not coming in their frame size. They coming in full screen (1024/768).</p>
  
  <p>What i can do to maintain subviews size ?</p>