-1

i use AFNewWorkReachability check the network status,but the reachability always false when the device connecting the vpn network.why,and how fix? ths

刘芳友
  • 4,721
  • 2
  • 8
  • 3

2 Answers2

0

The Reachability only tells you the status of local connection. The solution is to use RealReachability.

https://github.com/dustturtle/RealReachability

Andy Darwin
  • 478
  • 5
  • 19
0

I think that you should test your VPN. I use the VPN in iphoneX, ios11 and use the AFNetworking, it work correctly.