1

I've implemented a custom flip using CATransform3DMakeRotation (see UIView vertical flip animation). It works fine, causing the flip, the problem is that it is only a simple rotation.

How can I mimic the iOS style flip where the view seems to skew during the flip?

Cheers!!

Community
  • 1
  • 1
Andy B
  • 629
  • 8
  • 15
  • May be the link solves u r problem http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview . – iCoder Jun 20 '13 at 09:26

1 Answers1

1

Try adding perspective.

CATransform3D rotationAndPerspectiveTransform = CATransform3DIdentity;
rotationAndPerspectiveTransform.m34 = 1.0 / -500;
iCoder
  • 1,645
  • 1
  • 15
  • 23