读书人

ibooks 3d 翻转成效 flip 3d

发布时间: 2012-08-14 10:39:57 作者: rapoo

ibooks 3d 翻转效果 flip 3d

?So, this weekend I set out to make a reusable class for a OpenGL ES based view transition animation.

My idea was basically as following

Make a screen shot of the current viewCreate a texture of the screen shotCreate a view with an OpenGL ES context, make it?. So how much has to be done to use this transition view? It boils down to two parts, the actual animation and the integration into Cocoa touch views. The actual animation calls are what they are, but I separated it into two delegate methods,?

?

?

?

?

?

?

直接上代码最直接。