CLLocationManager.deferredLocationUpdatesAvailable() always returns false
Originator: | thomas.einwaller | ||
Number: | rdar://28463185 | Date Originated: | 24.9.2016 |
Status: | Closed | Resolved: | |
Product: | iOS | Product Version: | 10.0.2 |
Classification: | Reproducible: | Always |
Area: CoreLocation (Location Services) Summary: When calling CLLocationManager.deferredLocationUpdatesAvailable() on devices that have GPS it should return true - which it does in iOS 9 und older versions. In iOS 10 it does always return false and when I call allowDeferredLocationUpdates the method didFinishDeferredUpdatesWithError is immediately called with kCLErrorDomain error 11 Steps to Reproduce: 1. call CLLocationManager.deferredLocationUpdatesAvailable() 2. get false Expected Results: CLLocationManager.deferredLocationUpdatesAvailable() should return true on devices with GPS Actual Results: CLLocationManager.deferredLocationUpdatesAvailable() returns false Version: 10.0.2 Notes: Configuration: iPhone 6s
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
has been close as duplicate of 28561857 (Open)
I have the same problem on iPhone 7 / iOS 10.1.1 / Xcode 8.1 (8B62)
radar: 28303779 also filed earlier. Details and sample code: https://github.com/zakishaheen/deferred-location-implementation/tree/master