How does iOS determine to apply the autoresizing masks if launched on iPad?
<p><em>I do not know how to explain my question properly, but if anyone understand it is much appreciated else this question can be deleted.</em></p>

<p>I am making an universal application I wonder: The code I write in <code>loadView</code> I write positions of components specified in a iPhone points (320, 480). And from the documentation below it says that autoresizing is a response to their superview being moved or resized. So my question is how does the code/views know to autoresize when runned on a iPad? Because,  are the superview (which is self.view) really resized? </p>

<p>Code you write outside of loadView and attaches to self.view and with iPhone positions (320, 480) are not automatically resized even though you use autoresizing masks.</p>

<p>I know this is for Mac OSX but: (Quote from <a href="http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaViewsGuide/WorkingWithAViewHierarchy/WorkingWithAViewHierarchy.html" rel="nofollow">Mac OSX Documentation</a>)</p>

<blockquote>
  <p>Autoresizing of Subviews NSView
  provides a mechanism for automatically
  moving and resizing subviews in
  response to their superview being
  moved or resized. In many cases simply
  configuring the autoresizing mask for
  a view provides the appropriate
  behavior for an application.
  Autoresizing is on by default for
  views created programmatically, but
  you can turn it off using the
  setAutoresizesSubviews: method.</p>
</blockquote>
