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
This is indeed unsafe behaviour. The MainThread is the only one that should interface the UI. Have your thread return for instance a string to the mainthread and have a method there update the UI. You can do for instance do this by passing a selector to the other thread method, and then have the other thread call the selector on the mainthread.