(Wheeps) |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''CPNetworkObserver''' | '''CPNetworkObserver''' allows you to query information regarding networking status on iOS. | ||
== Methods == | == Methods == | ||
Line 25: | Line 25: | ||
Tests whether Wi-Fi is enabled. | Tests whether Wi-Fi is enabled. | ||
== | == External links == | ||
{{IPFHeader|AppSupport}} | {{IPFHeader|AppSupport}} |
Latest revision as of 16:34, 26 October 2014
CPNetworkObserver allows you to query information regarding networking status on iOS.
Methods
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
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/AppSupport/CPNetworkObserver.h
|