Search code examples
iphonexcodeios5core-animationcalayer

Create a CA Layer dynamically between two CA Layer


My view have multiple CA layers arranged like UITableView Cells. I have created the layer dynamically one after other in a top down order. But I want to create a layer between the two layers, I want to create the layer between two layers when I pinch out between two layers. How can i do that. I am new to this, so any help or direction to something closer would be great. ...

Thanks in Advance..


Solution

  • After digging alot here and there, I got my answer from an Example here. It not just gave me my answer, I actually learned some new stuff about CALayer and core animation, some of its details are here