I use NSOperationQueue
to create UIImage
s in the background,
upon image creation, main thread gets notified and set the image to a view.
While it works and all, main thread is not responding as I hoped while the NSOperationQueue
is working.
The point of using thread here is to let UI be responsive to user interactions.
Am I missing something here?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.