Adding multiple layer into uiview affecting performance

Hi All,


I am using CAShapelayer for complex drawing.I am creating 100's of CAShapelayer objects and adding them as a sublayer into my mainview layer.It's affecting my application performance.How can i improve it?.I didn't use CGContext for drawing since it has some forbidden for my complexity drawing.Please help me.



Thanks,

Regards,

Ganesh.

Adding multiple layer into uiview affecting performance
 
 
Q