2Fast4YouBR
2Fast4YouBR

Reputation: 1042

Make page flip animation on iPhone (like magazine)

What would be the best approach to make one page flip like a real magazine? Like I put the finger in the corner of the screen then flip the page, as in this video.

Is it a sequence of images? All images are in one View or Imageview? Or there is another way to do it using the some stuff of the SDK? Does this effect exist, or would I have to write it?

Upvotes: 1

Views: 2135

Answers (4)

Filip Radelic
Filip Radelic

Reputation: 26683

UIPageViewController is a new class in iOS 5 that you might be interested in if you don't have to support older iOS versions.

(before someone warns me about NDA, note that this class was announced publicly on one of wwdc keynote slides, I'm just giving a link to docs which can only be accessed by iOS Developer Program members)

Upvotes: 1

Underdog
Underdog

Reputation: 805

This would fix your magazine problem... https://github.com/ole/leaves/tree/twopages

Upvotes: 2

kennytm
kennytm

Reputation: 523284

That's just a sequence of images as the backgrounds, and the "text" scales horizontally narrower.

For detail implementation you need to ask the original developer.

Upvotes: 1

Jamie Keeling
Jamie Keeling

Reputation: 9966

If it was me i'd try to use the API that someone has provided, save yourself some trouble:

CodeFlakes PaperTouch API

Upvotes: 1

Related Questions