title: How to Resize View so That Its Subviews Get Resized Too
body: <p>My window adds a subview (my root ViewController's view).</p>
  
  <p>Such subview is superview of several other subviews.</p>
  
  <p>I have just finished an app, and now I want to add an ad.</p>
  
  <p>Here's some code:</p>
  
  <pre><code>[window addSubview:viewController.view];
  viewController.view.frame=CGRectMake(0,0,320,480-48);
  viewController.clipToBounds=YES;
  Ad *ad=[Ad alloc] initWithFrame:CGRectMake(0,480-48,320,48)];
  </code></pre>
  
  <p>The above viewController has several subviews, but they won't resize. The above viewController.view was 320,480 originally and was completely filled with subviews, until the last pixel on the bottom. And after I change its height from 480 to 460, the subviews do not resize, so on the bottom of the view (where the ad goes) some subviews aren't visible.</p>
  
  <p>How can I get the subviews to resize so to fit the parent view (viewController.view), when the latter has its height reduced by 20px? (I am aware that they'll be deformed a bit)  </p>