Reputation: 40506
I have a CGContextRef with things drawn inside, and I want to clear it out so that it is empty (all transparent). How to do it?
Upvotes: 0
Views: 2393
Reputation: 44633
CGContextClearRect should do the job.
CGContextClearRect
Upvotes: 3