从新的IBeacon获取UUID

时间:2015-09-29 17:40:03

标签: ios swift core-location core-bluetooth

我买了一个便宜的IBeacon只是为了测试目的,但我似乎无法找到UUID,我试过下面但似乎没有被调用?

func locationManager(manager: CLLocationManager!, didRangeBeacons beacons: [CLBeacon]!, inRegion region: CLBeaconRegion!){
    print("test: \(beacons[0].proximityUUID.UUIDString)")

}

0 个答案:

没有答案