iOS12, kReachabilityChangedNotification is not worked

800 views Asked by At

iOS 12 version is not work to kReachabilityChangedNotification.

(The networking change Notification. NO accessibility technology)

but iOS 8 version is good working.

what happend?

Xcode version is 10.1

how to get fix?

2

There are 2 answers

4
Pooja Kamath On

In iOS 12 Reachability feature is off by default. You must manually enable it on your iPhone by venturing into Settings → General → Accessibility → Reachability.

For more information you can check this link

You can also try adding NSAppTransportSecurity to info.plist file

<key>NSAppTransportSecurity</key>  
 <dict>  
      <key>NSAllowsArbitraryLoads</key><true/>  
 </dict>
0
keaton shine On

Reachability not Notification reason is,

USB cable connecting with XCode debug mode.

(But ios8 version device is no problem, only ios12 version device have a problem) . . . . .

But correct operation to Notification, disconnect USB cable without XCode,