views:

154

answers:

1

I know there's a simple UIViewAnimationOptionTransitionFlipFromLeft and way to implement that, but how do you do something similar (i.e. flip a UIView over) pre-iOS 4, like on the iPad, for example.

+1  A: 
[UIView beginAnimations: @"flipOverCard1" context: nil];
[UIView setAnimationDuration: 0.5f];
[UIView setAnimationTransition: UIViewAnimationTransitionFlipFromLeft forView: card1 cache: YES];

// Stuff to do while transitioning

[UIView commitAnimations];
Alexsander Akers