I want the keyboard to go away as soon as I hit "submit" in my iphone app, and not wait until the function completes. The function takes a long time because I'm doing a synchronous HTTP request.
How come the view doesn't update until the whole function completes? I'm working in the simulator in xcode.
-(IBAction)submit:(id)sender{
[myTitle resignFirstResponder];
...some ASIHTTP setup...
[request startSynchronous];
return;
}