CBPeripheralManagerDelegate does not seem to have a method for notifying when advertisement stops, unlike its counterpart -peripheralManagerDidStartAdvertising:error:. Should I assume that the stopAdvertising method is synchronous and assume that immediately after it advertisement has stopped?
CoreBluetooth knowing when advertisement stops
568 Views Asked by André Fratelli At
1
You´re right.
-(void)stopAdvertisingImmediately stops advertising.This from Apple´s
CBPeripheralManagerclass reference.What might help you (depending of your use case) is to use
isAdvertisingproperty from theCBPeripheralManager.