I got a CALayer and I want to copy it into 5 or more CALayers in ViewdidLoad is there is a possible way to do this. Here is my layer:
alye = [CALayer layer];
alye.position = CGPointMake(129, 189);
alye.bounds = CGRectMake(0, 0, theHeight/13.45, theWidth/2.66);
alye.backgroundColor = [UIColor redColor].CGColor;
alye.opacity = 0.6f;
[self.view.layer addSubLayer:alye];
Any help please?
Thanks in advance