How to gracefully restart CBCentralManager, in Swift

77 Views Asked by At

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.

0

There are 0 best solutions below