How can I fill a rect with an alpha color using CoreGraphics?

2 Solutions Collect From Internet About “How can I fill a rect with an alpha color using CoreGraphics?”

Use CGContextSetBlendMode() before you draw the rect.

Set your view background color to transparent… It should work.