How to achieve this iOS 7 paper folding animation using CALayer. Thanks in advance.
If you want t achieve an effect like that you should start to learn about CALayer
s in particular this subclass CATransformLayer
and its property -sublayerTransform
.
CATransformLayer objects are used to create true 3D layer hierarchies, rather than the flattened hierarchy rendering model used by other CALayer classes.
Unlike normal layers, transform layers do not flatten their sublayers into the plane at Z=0.
This is a good starting point Create a fold animation.