locationManager:didEnterRegion not called when a beacon is detected

前端 未结 4 421
广开言路
广开言路 2020-12-03 03:45

While testing with beacons (iOS devices) I found the listener beacon giving some unexpected behavior. locationManager:didEnterRegion method is not getting c

4条回答
  •  无人及你
    2020-12-03 04:18

    You also need to be aware that you are monitoring a region - not a particular beacons.

    So if you have 3 beacons which share the same proximityUUID and your region is defined as only proximityUUID (without major and minor values) you will get notified only in two situations:

    1. No beacons from the region were in range and first beacon/beacons gets discovered (didEnterRegion:)

    2. One or more beacons from the region were in range and they all went out of sight for ~30 seconds (didExitRegion:)

提交回复
热议问题