From iPhone Development Wiki
Revision as of 18:44, 26 July 2013 by Cykey (talk | contribs) (Wheeps)
Jump to: navigation, search

CPNetworkObserver is a part of AppSupport which allows you to query some 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.