using the following method of the UIView class on the iPad to enliven the exchange of various images inside the UIImageView:
[UIView transitionWithView:self.view
duration:1.0
options:UIViewAnimationOptionTransitionCurlUp
animations:^{[imageView setImage:foregroundImage];}
completion:nil];
However, the animation does not seem to pay attention to the current orientation of the interface. In other words, the “up” always depends on the portrait orientation. So, for example, if the device is left-aligned, the page is curled from left to right (and not up). If I'm upside down, the page curls from top to bottom, etc.
Any idea how I can get her to curl upward relative to the current orientation of the interface, and not just curled up relative to the Portrait orientation?
source
share