title: size and position of childViewController within a container view controller
body: <p>First time using container view controllers. I'd like to create the following:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      FirstViewController *vc=[[FirstViewController alloc] init];
      self.fVC=vc;
  
      CGRect myFrame=CGRectMake(10.0f, 10.0f, 50.0f, 100.0f);  // &lt;- how do I assign this frame to either my View Controller or the space to which that view will be assigned? 
      self.fVC.view.backgroundColor=[UIColor orangeColor];
      [self addChildViewController:self.fVC];
  
      [self.view addSubview:self.fVC.view];
      [self.fVC didMoveToParentViewController:self];
      // Do any additional setup after loading the view, typically from a nib.
  }
  </code></pre>
  
  <p>Currently, this makes the child view take up the whole screen. I'd like to assign the fVC to myFrame. How would I do this? </p>
  
  <p>**** updated #1**</p>
  
  <p>setting the childVC to something like the above to :</p>
  
  <pre><code>self.fVC.view.frame=myFrame;
  </code></pre>
  
  <p>sets it to the space but it doesn't really respect the end of text etc...? How should I handle this? </p>
  
  <p>thx in advance</p>
  
  <p><strong>update2</strong></p>
  
  <p>Sorry for big pics, just to show everything that is going on. I think it might be something related to clip view as mentioned in the comments.</p>
  
  <p>with
      CGRect myFrame=CGRectMake(10.0f, 10.0f, 250.0f, 300.0f);</p>
  
  <p><img src="https://i.stack.imgur.com/Hqztw.png" alt="enter image description here"></p>
  
  <p>and with:
      CGRect myFrame=CGRectMake(10.0f, 10.0f, 250.0f, 100.0f);</p>
  
  <p><img src="https://i.stack.imgur.com/Ll4BR.png" alt="enter image description here"></p>