From iPhone Development Wiki
Revision as of 16:34, 26 October 2014 by Uroboro (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CPNetworkObserver allows you to query information regarding networking status on iOS.


Signature +(CPNetworkObserver *)sharedNetworkObserver;

Obtains the shared network observer.

Signature -(BOOL)isNetworkReachable;

Tests if the network is reachable. (has shown unrealiable at times)

Signature -(BOOL)isWiFiEnabled;

Tests whether Wi-Fi is enabled.

External links