'How to gracefully restart CBCentralManager, in Swift
How do I gracefully stop all CBCentralManager activity and then, later, restart it?
He's my plan. Is anything missing?
Stopping...
If inadvertently still scanning, then stop.
Unsubscribe all services and characs.
Restarting...
scan
connect
add services and characs.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|