0

I would like to have my UIView opening to one side with the press of a button. I mean just like a door would open, with its side fixed, but not a complete rotation, just to a 30-40° angle. How can I do that? I tried flipping the UIView with UIViewAnimationOptionTransitionFlipFromBottom, but it flips completely and with the axis at its center, not to one side. How can I do that?

Ryan Poolos
  • 18,421
  • 4
  • 65
  • 98
Alessandro
  • 4,000
  • 12
  • 63
  • 131

1 Answers1

1

This SO question talks about how to create a page turn animation like the Flipboard iPad app. You could certainly use this as a starting point to make an animation that only flips part of the way:

Flipboard animation

Community
  • 1
  • 1
Axeva
  • 4,697
  • 6
  • 40
  • 64
  • Great project, the animations are great, but they are too different from the one I want to use, and so I don't know how to adopt it – Alessandro Dec 12 '12 at 20:23