3

When my application initially starts up, I am calling [Reachability reachabilityForInternetConnection]. I am essentially calling this right after -application:didFinishLaunchingWithOptions: in the AppDelegate. In iOS8, this is returning a valid connection when I am in airplane mode or have turned off wi-fi. In iOS7, the Reachability class is returning expected results (not connected). Could the issue be related to when I am calling the method?

I was able to work around this issue by implementing Ad-J’s answer here: Easiest way to detect Internet connection on iOS? when detecting that the device is on iOS8.

Has anyone else seen this issue?

Community
  • 1
  • 1
kwatanabe
  • 226
  • 2
  • 6
  • You are not alone. Even i am facing issues with Reachability code on iOS 8.0. here i arleady raised a question but nobody answered http://stackoverflow.com/questions/25719500/reachability-issue-with-ios8 Seems like Tim Cook of apple has messed up the Reachability in iOS8.0. – Dinesh Sep 12 '14 at 07:24
  • @Dinesh, Tim Cook is the last person who can mess up even a bit in the Apple's APIs... – holex Oct 02 '14 at 08:54

1 Answers1

0

Solved

I also get same problem in one of my application, in this app i was using old Reachability with version 2.2, I replace this reachability files with apples latest version 3.5, and it works.

Please check the version of your Reachability file,

You can get latest version of Reachability from below path:

Apple Reachability 3.5

Hope it helps You.!

Toseef Khilji
  • 17,192
  • 12
  • 80
  • 121