阿乐呀
阿乐呀
  • 发布:2025-04-10 14:51
  • 更新:2025-04-21 16:05
  • 阅读:100

蓝牙搜索:uni.getBluetoothDevices 返回为空

分类:uni-app

ios端想查询已经连接的蓝牙设备但是发现返回为空,初始化已经成功

 uni.getBluetoothDevices({  
          success(res) {  
            console.log("获取已连ios------", res); res为空数组  
          },  
          fail(err) {  
            console.log("获取已连失败ios------", err);  
          },  
        });
2025-04-10 14:51 负责人:DCloud_Android_zl 分享
已邀请:
1***@qq.com

1***@qq.com

请问解决了吗

要回复问题请先登录注册