Check Mobile App
Read now

Send sendSynchronousRequest using NSURLConnection

Save

Send sendSynchronousRequest using NSURLConnection

When we create an NSURLConnection  and send sendAsynchronousRequest and application get stuck or hang. So its a synchronous method – i.e. it runs on the Main Thread. Therefore, your application will hang – and it’ll wait till the data is downloaded.To prevent it: use the sendAsynchronousRequest method. It’ll run this process on a background thread and won’t disrupt your application or simply – won’t make it hang. how to use : –

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

I sincerely thank everyone on the team for putting in your efforts so I can work 100% in my country without worrying that some local company will overcharge me and do the job wrong so I would definitely recommend anyone once again to work with the Webkul team. If I had to do this again I would definitely hire you without a second thought! thanks and wish you the best hope we keep working for a long time!

Martin Blumenfeld

Martin Blumenfeld

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home