I am trying to use some objective c code to upload an image and some text data to my webserver which all works fine. I was just trying to add a basic progress indication "text box" to my display to show the progress i.e say "uploading"
I am using the following code in a buttons IBAction to kick off the upload
NSData *returnData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
This effectively stops me from being able to update a text description box (or any screen parameter) until the upload has finished (by the nature of a synchronous action i suppose) How can I update some screen parameters prior to the upload starting (but still within the buttons IBAction)?