title: Ensure a view remains full screen upon rotate
body: <p>I have a simple <code>UIWebView</code> that I've added to my <code>UIViewController</code> in the <code>viewDidLoad</code> method:</p>
  
  <pre><code>CGRect rect = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
  self.webView = [[UIWebView alloc] initWithFrame:rect];
  self.webView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
  [self.view addSubview:self.webView];
  </code></pre>
  
  <p>And it looks great, but when I rotate the phone, the width and height remain the same so now it's too wide for the update view frame. I also tried using self.view.bounds, but it didn't make any difference. </p>
  
  <p>So how do you ensure that a view that is fullscreen on load, stays the same size when rotated? (without using IB)</p>