1

それを実装する簡単UIViewAnimationOptionTransitionFlipFromLeftで方法があることは知っていますが、たとえば、UIViewiOS 4より前のようなものをどのように実行しますか(つまり、裏返します) 。iPad

4

1 に答える 1

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

// Stuff to do while transitioning

[UIView commitAnimations];
于 2010-08-24T00:25:26.200 に答える