CPNetworkObserver

From iPhone Development Wiki
Revision as of 18:03, 9 December 2012 by Theiostream (talk | contribs) (Created page with "'''CPNetworkObserver''' is a part of AppSupport.framework which allows you to query some information regarding networking status on iOS. {{function signature |signature=-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CPNetworkObserver is a part of AppSupport.framework 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.

Signature -(BOOL)isWiFiEnabled;

Tests whether Wi-Fi is enabled.