Pārlūkot izejas kodu

Update README.md

Ashley Mills 11 gadi atpakaļ
vecāks
revīzija
03ff00c952
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -4,11 +4,11 @@ Replacement for Apple's Reachability re-written in Swift with callbacks
 
 Inspired by https://github.com/tonymillion/Reachability 
 
-NOTE:
+**NOTES:**
 
-As of Swift 1.1, you cannot convert Swift closures into C-function pointers, meaning we can't set an `SCNetworkReachabilityCallBack`.
+- As of Swift 1.1, you cannot convert Swift closures into C-function pointers, meaning we can't set an `SCNetworkReachabilityCallBack`. To get around this, this reachability replacement uses an `NSTimer` firing at 1/2 second intervals.
 
-To get around this, this reachability replacement uses an `NSTimer` firing at 1/2 second intervals.
+- If an application has the privacy option “Use cellular data” turned off, the Reachability class still reports isReachable() to be true. There is currently no (non-private) API to detect this. If you need this feature, please raise file a [bug report](https://bugreport.apple.com) with Apple to get this fixed. See devforums thread for details: https://devforums.apple.com/message/1059332#1059332
 
 ## Use