【iOS13】call method`retrieveConnectedPeripheralsWithServices:`does not return any peripheral

I make sure that there has peripheral in system-bluetooth and match services when I call the method retrieveConnectedPeripheralsWithServices,but does not return any peripheral object.

these retrievePeripherals code are worked before iOS13

Accepted Reply

Looks like now you have to wait until the CBCentralManager is in .on state before retrieving peripherals.

Replies

Looks like now you have to wait until the CBCentralManager is in .on state before retrieving peripherals.

Wow! thanks,I send msg to a new centralManager object. it not works in iOS3