views:

349

answers:

0

Hi,

I'm working on the app which allows flipping of the interface under some circumstances. Both landscape orientation should be supported (landscape left and right). Device flipping and orientation changes works fine, however, when in landscape mode, application allows to go to another screen using UIViewAnimationTransitionCurlUp effect and then back with UIViewAnimationTransitionCurlDown.

This works fine when orientation is landscape left (curl page up from the left bottom corner and then back). But when in landscape right orientation, coordinates are reversed - the bottom left corner is actually upper right in that case, so animation transition effect is reversed too, which is not desired behavior.

Is there some way how to transform this kind of animation so it appears the same in both orientations or some way how to create this effect "manually" (perhaps using Core Animation?).

Thanks for any tip on this.