gpt4 book ai didi

ios - EAAcessory 无法使用 showBluetoothAccessoryPickerWithNameFilter 列出设备 : method

转载 作者:行者123 更新时间:2023-11-29 03:24:18 26 4
gpt4 key购买 nike

我正在使用这个方法

 [[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:nil completion:^(NSError *error) {
}

列出 MFI 程序中可用的蓝牙设备。它显示了选择器,但没有设备列表,这与 stackoverflow 上的其他答案不同,它应该在列表中显示设备。我通常能够通过进入设置连接移动和外部设备,并成功传递值。但是我想在不手动进入应用程序内部设置的情况下进行操作。我错过了什么吗!感谢您的帮助。

最佳答案

您是否将协议(protocol)字符串添加到您的 Info.plist 中?

在苹果文档中。

Note: The picker displays only Bluetooth devices that include an iAP over Bluetooth unique ID in their extended inquiry response.

你需要在“支持的外部附件协议(protocol)”中添加设备的协议(protocol)字符串

关于ios - EAAcessory 无法使用 showBluetoothAccessoryPickerWithNameFilter 列出设备 : method,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20659437/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com