ReachabilityManager
public final class ReachabilityManager
This class provides APIs to listen to network reachability events of the device.
-
Check if the host is reachable through the data network.
Declaration
Swift
public static var isReachable: Bool { get } -
Start listening for reachability.
Declaration
Swift
public static func listenForReachability()
ReachabilityManager Class Reference