Reputation: 40496
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: 2392
Reputation: 44633
CGContextClearRect should do the job.
CGContextClearRect
Upvotes: 3