问题
With iOS9, my app was able to detect beacons even iPhone was restarting.
With iOS10 this feature is no more working. It seems that with iOS10 "monitored beacon list" is not restarted agter a phone reboot.
Any idea ?
回答1:
There have been a number of reports of failing to monitor beacons in the background after an upgrade to iOS 10. Try this:
- Setting -> General -> Reset -> Reset Network Settings
- Launch your app, verifying beacon detection in the foreground
- Turn off your beacon or leave range to verify region exit in the foreground
- Put the app to the background (hit home or kill the app)
- Turn on the beacon or go within proximity
- Wait up to 15 minutes for a didEnterRegion event, especially after reboot
回答2:
i can confirm having the same issue since using iOS 10. I’m using ibeacon with IOS10 and cannot handle the ExitRegion/EnterRegion events : i’ve tried to change the beacons advertising with 250 ms
The exit/enter Region sometimes it works sometimes it doesn’t. If it works you should wait up to 15 minutes for a EnterRegion event!
the most common result on iOS 10 is nothing happens, is no region events are fired, just ranging and then it stops!
I will post any replies if i make some progress The devices tested are iPhone 6S iPhone 5S version iOS 10.0.2
来源:https://stackoverflow.com/questions/39570959/beacon-monitoring-after-reboot-with-ios10