The reference says this:
“You should call this function from the main thread of your application only.”
But I would like to get the current graphics context from separate threads. What do you think? What can I do to reach this?
Edit:
Thanks guys for the answers. I don’t know which is good for me at the moment, but thank you very much.
If you want to draw from other threads, either create your own CGBitmapContext or use a CATiledLayer.