1 libsystem_kernel.dylib
_ semaphore_wait_trap (in libsystem_kernel.dylib) < /p>
2 libdispatch.dylib
__ dispatch_sema4_wait (in libdispatch.dylib < /> __sema /> 3 libdispatch.dylib
dispatch_semaphore_wait_slow (in libdispatch.dylib) < /p>
4 corebluetooth
-[cbxpcconnection _sendbarrier] (в corebluetooth) < /p>
5 corefoundation] (Br /br /> 5 corefoundation /> CfnotificationCenter_IS_CALLING_OUT_TO_AN_OBSERVER __ (в основном фундаменте) < /p>
6 CoreFoundation cfxregistration post_block_invoke (в corefoundation) < /p>
7 Corefoundation _cfxistrationpost (in corefoundation) > prefoundation _cfxistrationpost (in corefoundation) < /> 7 corefoundation _cfxistrationpost (in corefoundation) pr>. CoreFoundation cfxnotification post (в основном фундаменте) < /p>
9 Foundation
-[nsnotificationcenter postnotificationName: Object: userInfo:] (в фундаменте) < /p>
10 uikitcore
_ 47- Ulkitcore) < /p>
11 uikitcore
+[uiviewcontroller выполняет бездействие. /> У нас есть фоновые разрешения Bluetooth ,
он все больше и больше вылетает на iOS 26。 < /p>
Код: Выделить всё
public init(options: [String: Any]? = nil) {
super.init()
let _options = options ?? [
CBCentralManagerOptionShowPowerAlertKey: false,
CBCentralManagerOptionRestoreIdentifierKey: "\(appUniName()).bluetooth.central"
]
centralManager = CBCentralManager(delegate: self, queue: centralQueue, options: _options)
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... endbarrier
Мобильная версия