Turn a page like a Book with UIView?

后端 未结 3 1758
北荒
北荒 2020-12-02 13:50

I am trying to switch between UIViews by making it look like you are turning a page in a book.

The UIViewAnimationTransitionCurlUp is prett

相关标签:
3条回答
  • 2020-12-02 14:31

    You can manage this effect by changing the orientation of the UIViewController where the animation takes place.

    0 讨论(0)
  • 2020-12-02 14:33

    Edit (June 2012) : It is now possible to use the native Apple implementation, check:

    • Page View Controller: Note that this is available since iOS 5.0.

    Also check this other libs/methods:

    • Leaves: Not so realistic, but really easy to use.
    • PageCurl: Really nice effect, easy to use.
    • Implementing iBooks page curling using a conical deformation algorithm: Amazing, but it's just a proof of concept, difficult to expand.
    0 讨论(0)
  • 2020-12-02 14:39

    There's nothing in the SDK that will do this for you. If you want this effect, you'll have to roll your own. "Classics" does a nice job with the page-flip animation.

    0 讨论(0)
提交回复
热议问题