Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/121.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios Swift后退模式错误Swift(核心蓝牙)_Ios_Swift_Swiftui_Background_Core Bluetooth - Fatal编程技术网

Ios Swift后退模式错误Swift(核心蓝牙)

Ios Swift后退模式错误Swift(核心蓝牙),ios,swift,swiftui,background,core-bluetooth,Ios,Swift,Swiftui,Background,Core Bluetooth,您好,我已使用CoreBooth在swift中开发了一个蓝牙应用程序,能够在检测到特定的蓝牙设备时立即连接到这些设备,即使是在后台模式下,我知道我已经添加了所有必要的操作后台,以了解info.plist中的参数,恢复功能..,但只要手机和锁我有这个错误出现后,2至3扫描onChange(of:Double)行动试图更新多次每帧并且他不想连接 对于行RSSI:-73=>RSSI Average:-64.5,我添加的只是打印,以了解扫描是否继续

您好,我已使用CoreBooth在swift中开发了一个蓝牙应用程序,能够在检测到特定的蓝牙设备时立即连接到这些设备,即使是在后台模式下,我知道我已经添加了所有必要的操作后台,以了解info.plist中的参数,恢复功能..,但只要手机和锁我有这个错误出现后,2至3扫描
onChange(of:Double)行动试图更新多次每帧并且他不想连接

对于行
RSSI:-73=>RSSI Average:-64.5
,我添加的只是打印,以了解扫描是否继续

                                     RSSI : -73  => RSSI Average : -64.5 

                                     RSSI : -66  => RSSI Average : -62.75 
onChange(of: Double) action tried to update multiple times per frame.
onChange(of: Double) action tried to update multiple times per frame.

                                     RSSI : -71  => RSSI Average : -62.25 

                                     RSSI : -74  => RSSI Average : -63.0 

                                     RSSI : -75  => RSSI Average : -63.5 
onChange(of: Double) action tried to update multiple times per frame.
onChange(of: Double) action tried to update multiple times per frame.
提前感谢您的帮助