开发者

Check internet connection on iphone doesn't work

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜