Theiostream (talk | contribs) No edit summary |
Theiostream (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
'''CPNetworkObserver''' is a part of [[AppSupport.framework]] which allows you to query some information regarding networking status on iOS. | '''CPNetworkObserver''' is a part of [[AppSupport.framework]] which allows you to query some information regarding networking status on iOS. | ||
## Methods | |||
{{function signature | {{function signature |
Revision as of 18:05, 9 December 2012
CPNetworkObserver is a part of AppSupport.framework which allows you to query some information regarding networking status on iOS.
- Methods
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.