Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is a near-zero chance that the issue relates to the interaction between AFNetworking and a specific device - it's likely one or the other. </p> <h2>Testing AFNetworking</h2> <p>AFNetworking does provide build-in detection of connectivity changes. Set a block using <code>AFHTTPClient</code>'s <code>-setReachabilityStatusChangeBlock:</code> method. This will let you know when an Internet connection is lost, and will allow you to adjust your app's behavior as needed.</p> <p>This <a href="https://stackoverflow.com/a/11612051/1445366">Stack Overflow question</a> provides sample code and setup instructions.</p> <p>Here are the values for the <code>status</code> variable, for your reference:</p> <pre><code>AFNetworkReachabilityStatusUnknown = -1, AFNetworkReachabilityStatusNotReachable = 0, AFNetworkReachabilityStatusReachableViaWWAN = 1, AFNetworkReachabilityStatusReachableViaWiFi = 2, </code></pre> <h2>Testing the Device</h2> <p>Here are something you can try to isolate the issue to your device:</p> <p>• Download <a href="https://itunes.apple.com/us/app/fing-network-scanner/id430921107" rel="nofollow noreferrer">Fing</a> and compare network performance on different devices</p> <p>• Do a data speed test on <a href="http://testmyiphone.com/" rel="nofollow noreferrer">testmyiphone.com</a></p> <p>• Check the device's <a href="http://support.apple.com/kb/ht4213" rel="nofollow noreferrer">parental controls</a> to see if anything would conflict with your app's behavior</p> <p>• Restore the device, without restoring from backup, in iTunes</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload