title: Orientation in a UIView added to a UIWindow
body: <p>I have a UIView which is supposed to cover the whole device (UIWindow) to support an image zoom in/out effect I'm doing using core animation where a user taps a button on a UITableViewCell and I zoom the associated image.</p>
  
  <p>The zooming is performing flawlessly, what I haven't been able to figure out is why the subview is still in portrait mode even though the device is in landscape.  An illustration below:</p>
  
  <p><img src="https://i.stack.imgur.com/5i6iP.jpg" alt="enter image description here"></p>
  
  <p>I do have a navigation controller but this view has been added to the UIWindow directly.</p>