开发者

Thread Safe (CG) Version of UIGraphicsGetImageFromCurrentImageContext?

Im trying to render PDF pages to imag开发者_如何学Pythones on a background thread, is there a thread safe way of generating an image from a pdfContext/context that doesn't not use:

UIGraphicsGetImageFromCurrentImageContext


AFAIK (almost) all Core Graphics calls should be safe to use in a background thread as long you don't draw on screen and don't share resources (such as graphics contexts) among multiple threads.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜