Reachability.swift
Reachability.swift copied to clipboard
Replacement for Apple's Reachability re-written in Swift with closures
Hi, When connected on a WiFi network, if WiFi signal is weak, iOS may activate WiFi Assist feature, which allows to use cellular connexion to be used. In this case,...
When the iPhone switches network from one to another I don't receive any notification. However when switching from Wi-fi to cellular and cellular to Wi-fi it works flawlessly. Is this...
When running unit tests on Xcode 10.3 && Xcode 11 GM Seed on Mojave 10.14.6: `Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "Check invalid host".` This...
Xcode: Version 10.1 (10B61) iPhone 6s Plus 16gb - iOS 12.1.4 Manual install, i am using Reachability inside Cocoa Touch Framework I tried this example of closures from the README:...
When using the following setup: reachability.whenReachable = { reachability in print("reachable called") } } reachability.whenUnreachable = { reachability in print("UNreachable called") } } I get the first block getting called...
Hi, Since Xcode 10.2, I have these errors when I try to clean/build my project Targeting iPhone 6 (real) under iOS 12.1.4  Targeting...
On iOS app background getting message in console. ReachabilitySample[5058:1405043] Can't end BackgroundTask: no background task exists with identifier 1 (0x1), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError()...
```swift import Combine import Reachability import os class ReachabilityStore: ObservableObject { private var reachability: Reachability @Published var reachable: Bool = false @Published var reachableViaWifi: Bool = false @Published var reachableViaCellular:...
Steps: 1. Disconnect internet connection(LAN cable) from WIFI router, but keep WIFI running. -> reachabilityChanged function called after 3 to 15 minutes(approx). 2. Plugged-in the LAN cable into WIFI router...
Hi, I am not getting correct reachability status when device is connecting/disconnecting from VPN. Does it actually support ?