Is it possible to add an image to the cirlces by customizing the specific CALayer ?
I tried this, but without luck:
in: - (void)addProgressBasedOnLabels:(NSArray *)labels currentStatus:(int)currentStatus {
circleLayer.contents = (__bridge id)[UIImage imageNamed:@"myImage"].CGImage;
I als tried to add the line to:
- (CAShapeLayer *)getLayerWithCircle:(UIBezierPath *)circle andStrokeColor:(UIColor *)strokeColor {
but same result. The image won't show up.
Is it possible to add an image to the cirlces by customizing the specific CALayer ?
I tried this, but without luck:
I als tried to add the line to:
but same result. The image won't show up.