xcode loading the images in background process, it leads to crash the application when i scroll the
Posted
by Srinivas G
on Stack Overflow
See other posts from Stack Overflow
or by Srinivas G
Published on 2010-06-01T09:45:01Z
Indexed on
2010/06/01
9:53 UTC
Read the original article
Hit count: 300
Hi, I have developed an application which has retrieved the information from remote location...so i put those in UITableView's Section.In response, i will be getting images also..for this i put the background process(only for images..because the app will take more time to retrieve images than text based information..).It is working fine...But if i scroll the tableview while loading the images..it is going to be crashed....
crash Log:
Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now...
could anyone has the solution for this..please let me know..how to resolve this crash...Even i used NSThread class for this.. but i didn't get the solution...
Thanks,
Srinivas G
© Stack Overflow or respective owner