CoreBluetooth CBCharacteristic isNotifying

This is my process:

1.connect a device;

2.search characteristic and set notify to yes;

3.make sure characteristic.isNotifying = YES;

4.disconnect;

5.connect again,the same device;

6.the characteristic's property isNotifying = YES(I do not discoverCharacteristic and setNotify.)

i think the value of isNotifying is wrong,

Could you helpe me how can i get the right value?

Replies

I think that the CBCharacteristic object is no longer valid after the disconnection.
Check what is value after step 4. I believe that the value would still be isNotifying == YES.