Using a mask to draw a gradient color circle
owner : paradiselwh154@gmail.com
the main is
- (void)drawRect:(CGRect)rect
we can use UIGraphicsBeginImageContext CGContextAddArc CGContextSetShadowWithColor CGContextDrawPath CGContextClipToMask and so on.......
you can know how to creat a gradient circle, and learn others.