Detecting Network Connectivity Changes using Reachability, NSNotification and Network Link Conditioner in Swift
问题 I'm trying to integrate network connectivity detection into my app, however it seems that somewhere along the line I have made a mistake as my network changes are not being detected/printed out into the console. As mentioned in the post, I'm currently using these following classes and tools for the job: Reachability {.h, .m} NSNotificationCenter Network Link Conditioner Code In the AppDelegate.Swift , I've set up the NSNotificationCenter to detect changes: func application(application: