1 Answer
1

you're using the same request into 2 different connections: theConnection (which is asynchronous and with delegate set up - the connections starts when you init it) and [NSURLConnection sendSynchronousRequest: urlrequest returningResponse: &response error: nil];. Try removing the second