We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We can check the status o f the bluetooth if it's turned on or off
on
off
Should be great to check that too with PermissionsKit
var manager:CBCentralManager! viewDidLoad() { // Or init() manager = CBCentralManager() manager.delegate = self } func centralManagerDidUpdateState(_ central: CBCentralManager) { switch central.state { case .poweredOn: break case .poweredOff: print("Bluetooth is Off.") break case .resetting: break case .unauthorized: break case .unsupported: break case .unknown: break default: break } }
The text was updated successfully, but these errors were encountered:
Hello! So idea add property about power on and off, right?
Sorry, something went wrong.
yep
I can submit a PR this weekend if it helps
I can add it myself, thanks for idea. Soon release new version
ivanvorobei
svyatoynick
No branches or pull requests
We can check the status o f the bluetooth if it's turned
on
oroff
Should be great to check that too with PermissionsKit
The text was updated successfully, but these errors were encountered: