I'm using NSURLConnection
in an iPhone application and the interface seems to slow down after sending initWithRequest:
to my NSURLConnection
instance. I'm not sure if this is occurring because my processing code is taking a long time to handle the response, or if it's because NSURLConnection
is blocking the main thread.
Can anyone confirm that NSURLConnection
will create the connection and wait for data on a separate thread, and then call its delegate methods on the main thread?
Thanks!