Domanda

I'm making an app for OSX and i would like to know how can i check if the user has internet connection?
I've been searching around on the internet for this, but what i've tried is not working.
Any example code would be very nice! Thanks

È stato utile?

Soluzione

Here you can find a drop-in, ARC compatible version of Reachability.

Another version is available here.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top