Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道有一种简单的方法来实现它,但是你如何在 iOS 4 之前UIViewAnimationOptionTransitionFlipFromLeft做类似的事情(即翻转),例如在 .UIViewiPad
UIViewAnimationOptionTransitionFlipFromLeft
UIView
iPad
[UIView beginAnimations: @"flipOverCard1" context: nil]; [UIView setAnimationDuration: 0.5f]; [UIView setAnimationTransition: UIViewAnimationTransitionFlipFromLeft forView: card1 cache: YES]; // Stuff to do while transitioning [UIView commitAnimations];