Estimote: detecting multiple beacons with ESTBeaconRegion and startRangingBeaconsInRegion?

蹲街弑〆低调 提交于 2019-12-04 21:30:59

Easy fix! Your identifier: @"EstimoteSampleRegion"] must use a different string for all three regions.

This is true whether using the Estimote SDK or standard iOS CoreLocation APIs, around which the Estimote SDK is just a thin wrapper. CoreLocation keeps track of multiple regions by using that string identifier as a key. If you use the same string more than once, you are effectively telling CoreLocation to replace one region with another region.

Shameless plug: if you use my company's ProximityKit framework, you do not have to manage your beacon regions at all in code -- you can do so dynamically in the cloud. You then no longer have to worry about keeping this identifier unique. It is compatible with Estimote beacons as well as all standard iBeacons, too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!