DidExitRegion not starting when bluetooth off

I am creating a simple ios application with IBeacon, I control the region, but I have some problems with input and output events.

If I go to the area, the callback didEnterRegionwill be launched, but being within the area, turning off bluetooth does not start the callback didExitRegion. Is this expected behavior?

This is a problem since I should be able to detect when a user leaves the region. Any idea?

thank

+4
source share
2 answers

For testing purposes, you must turn off your beacons or go out of range to receive an event didExitRegion.

CoreLocation , CLBeaconRegion, , Bluetooth 3 , , CLBeaconRegion, . Bluetooth , , .

, CoreBluetooth . CLBeaconRegion, didExitRegion, CoreLocation.

+3

. , didExitRegion .

, Bluetooth, .

+1

All Articles