I want to do some task synchronously as :
[NSURLConnection sendSynchronousRequest:Request returningResponse:&response error:&error];
is deprecated what I can use in place of this.
I want to do some task synchronously as :
[NSURLConnection sendSynchronousRequest:Request returningResponse:&response error:&error];
is deprecated what I can use in place of this.
Use
dispatch_sync
to perform synchronously tasks.Let me know if you need anymore help..