iBeacon enter and exit region constantly every 1 minute

后端 未结 2 486
鱼传尺愫
鱼传尺愫 2020-12-30 17:41

I managed to get local notification when iBeacon (using Kontakt Beacon) enter a region in Background mode . at the same time I monitor 3 beacon regions with specific & u

2条回答
  •  执笔经年
    2020-12-30 17:59

    CoreLocation is known to be fairly unstable with notifications both when monitoring regions and ranging beacons. We had to implement a similar filter to ranging notifications in our sample app, the source code is at https://github.com/BlueSenseNetworks/iOS

    Basically the app keeps a circular buffer with the latest 10 sightings and makes a decision on what to display based on the type of the majority of sightings.

提交回复
热议问题