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 开发者_StackOverflow中文版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?
Use reachability class . It checks the network connectivity
精彩评论