title: How to disable UI rotation in iOS, but rotate in VoiceOver?
body: <p>I am attempting to replicate the experience of the iOS camera where, upon rotation, the UI itself does not rotate, but the individual elements do. Visually I was able to replicate the effect perfectly by setting the following in my view controller:</p>
  
  <pre><code>- (BOOL) shouldAutorotate {
     return YES;
  }
  
  - (UIInterfaceOrientationMask)supportedInterfaceOrientations {
      return UIInterfaceOrientationPortrait;
  }
  </code></pre>
  
  <p>Additionally, I listen to the <code>UIDeviceOrientationDidChangeNotification</code> and rotate the views using <code>CGAffineTransform</code> when the event is triggered. Again, this works perfectly visually. However, the rotation fails to take effect in VoiceOver. When I rotate to landscape, I'd expect that the left and right swipe would still let me navigate across elements. However, I have to do up and down swipes instead. What is another way to accomplish this effect that would work for sighted and VoiceOver users?</p>