I use "Reachability" to monitor changes in WiFi status, "Reachability" monitors WiFi status changes very well when opening app or keeping the background running. But when the app is closed, Make WiFi connections on the system's WiFi list page , "Reachability" does not detect WiFi changes, and when WiFi changes, it does not post any notifications, this is what causes? Is there a way to accurately monitor WiFi status changes? I spent a lot of time searching and solving this problem, but I have not found a solution, who can get help. thanks! Note: "Reachability" version: https: //github.com/tonymillion/Reachability
The issue here is that your app is being suspended when it goes into the background. The reachability API will not resume your app to deliver notifications, so you don’t get those notifications until your app is resumed for some other reason. Moreover, there’s no other API for resuming your app in the background on networking changes.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"