title: iOS: Disable Autorotation for a Subview
body: <p>I have a nested view hierarchy for an iPad application that supports orientation changes.  It looks similiar to the following.</p>
  
  <pre><code>UIViewController
      UIView
          - UIView
              - UIImageView (disable rotation)
              - UIImageView
              - UIView (disable rotation)
          - UIView
          - UIView
          ...
  </code></pre>
  
  <p>I would like to lock the orientation for some of my subviews, while allowing others to auto-rotate and resize.  I can't quite seem to figure out how to accomplish this.</p>
  
  <p>One approach seems to be rotating the subviews manually within <code>willAnimateRotationToInterfaceOrientation:</code>.  That's not particularly attractive given the SDK is executing a rotation that I would just be undoing.</p>
  
  <p>Is there a way to simply disable orientation changes for subviews or some other method to restructure my hierarchy?</p>