Macos 基于蓝牙框架的OS X下Parrot Zik 2的检测

Macos 基于蓝牙框架的OS X下Parrot Zik 2的检测,macos,swift,bluetooth,Macos,Swift,Bluetooth,在OSX下,是否可以使用CoreBluetooth框架检测Parrot Zik 2?还是我不得不使用IOBluetooth框架 这样做 central.scanForPeripheralsWithServices(nil, options: nil) public func centralManager(central: CBCentralManager!, didDiscoverPeripheral peripheral: CBPeripheral!, advertisementData:

在OSX下,是否可以使用CoreBluetooth框架检测Parrot Zik 2?还是我不得不使用IOBluetooth框架

这样做

central.scanForPeripheralsWithServices(nil, options: nil)

public func centralManager(central: CBCentralManager!, didDiscoverPeripheral peripheral: CBPeripheral!, advertisementData: [NSObject : AnyObject]!, RSSI: NSNumber!) {
    println("got \(p)")
}
只能检测到我的苹果电视,但不能检测到我的鹦鹉Zik 2

got <CBPeripheral: [address] identifier = [UUID], Name = "Apple TV", state = disconnected>
get
如果我应该使用IOBluetooth,代码会是这样的吗