02Draw Circle

suggest change
CAShapeLayer *circle = [CAShapeLayer layer];
   
   [circle setPath:[[UIBezierPath bezierPathWithOvalInRect:CGRectMake(100, 100, 150, 150)] CGPath]];
   
   [circle setStrokeColor:[[UIColor blueColor] CGColor]];

   [circle setFillColor:[[UIColor clearColor] CGColor]];
   
   [[self.view layer] addSublayer:circle];

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents