Closed yunchiri closed 11 years ago
Thank you nick,
After I received AsyncImageLoadDidFinish from NSNotificationCenter
I save asyncimage.image at mydocument..
and saveMethod like dispatch_async(dispatch_get_global_queue(0, 0), ^{ asyncimage.image save to disk }
It is Ok, but sometimes invalided Image saved
normally image file size > 1kb but invalided image file size < 1kb and it can't loading
I think "AsyncImageLoadDidFinish" message response time is faster then "real download image time"
how can I save asyncImageView.image to disk safely?
Thanks
i'm noticing that .image is returning a nil UIImage after AsyncImageLoadDidFinish notification triggers as well...
Sorry my mistake...^^
Thank you nick,
After I received AsyncImageLoadDidFinish from NSNotificationCenter
I save asyncimage.image at mydocument..
and saveMethod like dispatch_async(dispatch_get_global_queue(0, 0), ^{ asyncimage.image save to disk }
It is Ok, but sometimes invalided Image saved
normally image file size > 1kb but invalided image file size < 1kb and it can't loading
I think "AsyncImageLoadDidFinish" message response time is faster then "real download image time"
how can I save asyncImageView.image to disk safely?
Thanks