rthor
rthor

Reputation: 128

iOS 5 check for internet connection

I'm developing an iOS 5.1 app and I need to check for internet connection and which type of connection it is.

What is the most efficient way to go about this simple check?

Upvotes: 1

Views: 252

Answers (1)

Ōkami
Ōkami

Reputation: 155

Apples' reachability might help, it worked nicely for me:

http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html

Upvotes: 1

Related Questions