Created
July 27, 2018 07:58
-
-
Save SunXiaoShan/085c902dbeb748d5687a2c51c9a6260c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)peripheralManagerDidUpdateState:(CBPeripheralManager *)peripheral { | |
if (peripheral.state != CBPeripheralManagerStatePoweredOn) { | |
// stopAdvertising | |
return; | |
} | |
// setup service | |
[self setupService]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment