Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

detz

macrumors 65816
Original poster
Jun 29, 2007
1,051
0
I get this.

bool _WebTryThreadLock(bool), 0x39263a0: 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...

Which I've tracked down to a function call in a thread that updates the progress bar. I guess it's complaining because I'm updating the interface from a separate thread but how else should I handle updating the progress bar?
 
look at performSelectorInMainThread in the ref docs :) call that from your thread to update the progress bar
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.