yu243e opened this issue 7 years ago · 0 comments
I try to use CGContextSetShadowWithColor(ctx, CGSizeMake(0, 0), 2, [[UIColor blackColor] colorWithAlphaComponent:0.5].CGColor); but it doesn't work well. It looks like being cut by a square.
CGContextSetShadowWithColor(ctx, CGSizeMake(0, 0), 2, [[UIColor blackColor] colorWithAlphaComponent:0.5].CGColor);