You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

iOS 18 CoreBluetooth指定CBUUID扫描无法检测后台广播的iPhone外设

iOS 18 CoreBluetooth 指定CBUUID扫描无法发现后台广播的iPhone外设

问题描述

在iOS 18系统中,使用CoreBluetooth框架的scanForPeripherals方法并指定CBUUID时,无法检测到处于后台状态(未终止)的iPhone外设。

测试环境

  • iPhone A(外设端):广播带有特定CBUUID myServiceUUID 的服务
  • iPhone B(中心端):调用 sCentralManager.scanForPeripherals(withServices: [myServiceUUID]) 方法进行扫描

测试用例

  1. iOS 18系统的iPhone B可检测到前台状态的iPhone A
  2. iOS 18系统的iPhone B无法检测到后台状态(未终止)的iPhone A
  3. iOS 17及以下系统的iPhone B可检测到前后台状态的iPhone A

补充说明

  • iPhone A可为任意iOS版本
  • 测试用例2为核心问题

更新:问题已修复

该问题已通过Apple反馈助手提交(编号15217942),并已通过iOS系统更新解决。

内容的提问来源于stack exchange,提问作者Ahimsa Das

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.18 06:22:04