Re: iOS Rendering PDFs on a Background Thread
Re: iOS Rendering PDFs on a Background Thread
- Subject: Re: iOS Rendering PDFs on a Background Thread
- From: David Duncan <email@hidden>
- Date: Thu, 26 Jul 2012 14:17:45 -0700
On Jul 26, 2012, at 2:09 PM, Dave <email@hidden> wrote:
> I've got the code working on the Main Thread, but now the tricky bit because since I am using UIGraphicsBeginImageContextWithOptions and UIGraphicsEndImageContext in order to capture the Image, and, as far as I know these methods can only be called on the Main Thread. Is this correct?
No, these methods are fine as long as you use the context only within the same invocation (that is, don't try to share the context between threads or split the begin/end between threads).
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden