#import <MBReachability.h>
◆ connectionRequired()
- (BOOL) connectionRequired |
|
|
|
WWAN may be available, but not active until a connection has been established. WiFi may require a connection for VPN on Demand.
◆ currentReachabilityStatus()
◆ reachabilityForInternetConnection()
+ (instancetype) reachabilityForInternetConnection |
|
|
|
Checks whether the default route is available. Should be used by applications that do not connect to a particular host.
◆ reachabilityWithAddress:()
+ (instancetype) reachabilityWithAddress: |
|
(const struct sockaddr *) |
hostAddress |
|
Use to check the reachability of a given IP address.
◆ reachabilityWithHostName:()
+ (instancetype) reachabilityWithHostName: |
|
(NSString *) |
hostName |
|
Use to check the reachability of a given host name.
◆ startNotifier()
Start listening for reachability notifications on the current run loop.
◆ stopNotifier()
该类的文档由以下文件生成: