0

I've tried many code to check internet connectivity from Apple docs and other sources.

The problem is that if the address is google.com return TRUE, if it's gydsddsds.com return FALSE, but if I disconnect my PC from Internet it return again TRUE!

Have you got a really working method please?

César
  • 9,939
  • 6
  • 53
  • 74
philip
  • 37
  • 1
  • 2

1 Answers1

0

Use reachability class . It checks the network connectivity

er.mobileapp
  • 1,287
  • 4
  • 15
  • 21