ios - didExitRegion not fired when turn off bluetooth -


im building simple ios app ibeacon, i'm monitoring region have issues enter , exit events.

if go region callback didenterregion fired, being within region, turning off bluetooth doesn't fire didexitregion callback. expected behavior?

this issue since have able detect when user exits region. idea?

thanks

for testing purposes must turn off beacons or move out of range didexitregion event.

once corelocation has determined inside clbeaconregion change state being outside region after has chance bluetooth scan 3 seconds during time no beacons matching clbeaconregion detected. if bluetooth not on, cannot scan make determination.

if want force exit in app in case, consider listening corebluetooth lifecycle events. on power off, can deregister each clbeaconregion, fire didexitregion logic manually, deregister them corelocation.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -