简体   繁体   中英

ios detect bluetooth state changes in terminated state

I initialized CBCentalManager in my app. I see bluetooth state changes in foreground and background. But when I swipe/kill application from task manager. It's stopped and doesn't work. How can I detect bluetooth state changes when app terminated by user ? Is it possible ?

When the app is killed by the user you cannot detect your bluetooth state. You can detect the bluetooth state when your app is active again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM