Could you recreate the 3D page turning effect seen

2019-05-05 21:15发布

问题:

I read an article somewhere explaining that apple uses OpenGL ES to implement the page turning effect in the iBooks app. Since you can perform 3D animations on 2D Layers using only Core Animation, what might be some reasons you'd have to use OpenGL ES to create that page transition animation?

Thanks in advance for your thoughts!

回答1:

Steven Troughton-Smith has accomplished this here without OpenGL. http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html

However, he uses Private APIs, so you may want to be careful.