Could you recreate the 3D page turning effect seen in the iBooks app using only Core Animation or would you need to use OpenGL ES?

柔情痞子 提交于 2019-12-07 08:55:26

问题


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.



来源:https://stackoverflow.com/questions/3189575/could-you-recreate-the-3d-page-turning-effect-seen-in-the-ibooks-app-using-only

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!