I have enable my mobile data (3G/4G) but there is no data left in my Mobile Network.
Is it possible to know above condition in swift.
I have checked below code but its giving me wrong information. Below condition is only satisfied when off the mobile data. My requirement is mobile data is ON and no internet avialable
let reachability = Reachability(hostName: "https://www.google.com")
if reachability.currentReachabilityStatus() == NotReachable {
}