i would like to do a flipboard of many view (not image but uiview) by using only Core Animation, not OpenGL. i saw many exemple of flip but they involve only image flip and capture of image layer. like here: https://github.com/brow/leaves some can help me please.
Asked
Active
Viewed 3,260 times
1 Answers
3
I found this Github project called FlipView. It includes layout tools that you might not need, but the page flipping is implemented using Core Animation layers in the AFKPageFlipper class.
To implement it yourself:
- Copy the view's layer contents to an image. (
[layer renderInContext:]
) - Add the right side of the image to a new layer's
contents
. - Add a rotation
CATransform3D
transform to the layer with perspective. See Listing 2 in the Core Animation Guide for adding perspective.

Jason Harwig
- 43,743
- 5
- 43
- 44