title: UIView and AutoresizingMask ignored
body: <p>First time posting on stack overflow.</p>
  
  <p>I've spent hours scouring over many Google searches and have, at this point, practically memorized the UIView and UIViewController class reference docs. No matter what I do, my app is ignoring my efforts to resize my views on orientation change (or any other frame size modifications for that matter.)</p>
  
  <p>There are no nibs or xibs involved; I am building all of my views and viewcontrollers programmatically, and they (the viewcontrollers) are all subclasses of one of three custom UIViewController subclasses that I have created. These super classes have the following lines in their loadView: method...</p>
  
  <pre><code>[self setView:[[[UIView alloc] initWithFrame:[self viewFrame]] autorelease]];
  [[self view] setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight)];
  [[self view] setAutoresizesSubviews:TRUE];
  </code></pre>
  
  <p>In all of the appropriate setter methods (wherever I add a subView in other words) I am repeating the steps of applying the autoresizingMask. It seems that no matter what I do, the outcome is always the same -- I click build, click debug, wait for the app to launch, rotate the device, and presto! The view rotates but does not resize at all.</p>
  
  <p>What am I missing here? It's probably something obvious that I am just not seeing. Any help is truly appreciated, thanks in advance.</p>