title: UIViewAnimationOptionTransitionCurlUp
body: <p>using the following UIView class method on iPad to animate the swapping of different images inside a UIImageView:</p>
  
  <pre><code>        [UIView transitionWithView:self.view 
                        duration:1.0 
                         options:UIViewAnimationOptionTransitionCurlUp 
                      animations:^{[imageView setImage:foregroundImage];} 
                      completion:nil];
  </code></pre>
  
  <p>However, the animation does not seem to be taking notice of the current interface orientation. In other words, "up" is always up relative to <em>Portrait</em> orientation. So, for example, if the device is in Landscape Left orientation, the page curls from left to right (rather than "up"). If I'm in Upside Down orientation, the page curls from top to bottom, etc. </p>
  
  <p>Any idea how I can get it to curl "up" relative to the current interface orientation rather than only curling up relative to Portrait orientation?</p>