Why is the Reachability class returning unexpected results for iOS8?

When my application initially starts, I call [Internet Reachability]. I essentially call this right after applying: didFinishLaunchingWithOptions: in the AppDelegate. In iOS8, this returns a valid connection when I am on an airplane or have turned off Wi-Fi. In iOS7, the Reachability class returns expected results (not connected). Could the problem be related to when I call the method?

I was able to solve this problem by following the Ad-Js answer here: Easiest way to detect internet connection on iOS? when detecting that the device is on iOS8.

Has anyone else seen this issue?

+3


source to share


1 answer


solved

I am also getting the same problem in one of my applications, in this application I used the old Reachability with version 2.2, I replace these reachability files with the latest 3.5 apples and it works.

Please check the version of your Reachability file,



You can get the latest version of Reachability from the below path:

Apple Reachability 3.5

Hope this helps you.!

0


source







All Articles