Tag: clbeacon

didEnterRegion和didRangeBeacons之间的区别

didEnterRegion和didRangeBeacons在用例方面有什么区别,我的意思是当我应该实现didEnterRegion / didExitRegion和什么时候应该实现didRangeBeacons? 每个委托方法的确切function是什么? 从苹果的文档,这不是很清楚。 – (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLRegion *)region { } 和 – (void)locationManager:(CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region { }