Is there any timeout period for NSData datawithcontentsofurl?
dataWithContentsOfURL may have an internal timeout but you want to use NSURLConnection instead, which allows for asynchronous communication. It also lets you specify a timeout interval.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With