In my iPhone app I need to connect to a web server as this can take some time I\'m using threads like this:
[NSThread detachNewThreadSelector:@selector(sendS
Perform any selectors that handle UI updates on the main thread. You can do this with the NSObject method -performSelectorOnMainThread:withObject:waitUntilDone: