ios - Inconsistant iBeacon detections -


i trying detect ibeacons app killed state on ios 7.1 + devices . on devices (not specific phone model) app works without glitch.

however on devices app not detect beacons . have double check settings on devices such location services , permissions, background app fetch , bluetooth etc.

i have enabled "notifyentrystateondisplay" . therefore testing locking device , turning on . devices detect beacon.(the battery full well).

i thought "notifyentrystateondisplay" cause detect ibeacons everytime turned device on. missing here ?

the notifyentrystateondisplay option designed give callback diddeterminestate:forregion: when user hits shoulder button turn on display. callback may not happen when phone first boots up. in fact, tests show corelocation isn't active first 60 seconds or after display first comes on.

a couple of things check:

  1. make sure logic inside diddeterminestate:forregion: , not didenterregion: or didexitregion:.

  2. when boot up, wait 60 seconds before hitting shoulder button , expecting results.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -