views:

28

answers:

0

I am using this code for UIView transition effect

[UIView beginAnimations: nil context: nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIView commitAnimations];

Now the problem is that when i rotated the ipad in Landscape Left it behaves weird and if i give condition whether if Landscape left than UIViewAnimationTransitionCurlDown, still the animation is not the same as it is during Landscape-right way