【发布时间】:2015-04-29 07:21:25
【问题描述】:
我有一组 Estimote 信标。当我使用 estimote sdk 时,我可以为信标设置范围并使用它。但问题是,当我使用iOS SDK进行监控测距时,根本没有调用didRangeBeacons。
我已经开始测距,如下所示。当我使用断点检查时,该函数被调用。
- (void) locationManager:(CLLocationManager *)manager didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region
{
switch (state) {
case CLRegionStateInside:
[self.beaconManager startRangingBeaconsInRegion:self.beaconRegion];
NSLog(@"Region CLRegionStateInside");
【问题讨论】:
标签: ios core-location ibeacon estimote