I am new to Core Bluetooth programming in iOS. Recently I encountered this problem that when connecting to a peripheral, "Bluetooth Pairing Request" alert will pop up on screen. But regardless if I cancelled the request, entered an invalid pin, or simply do nothing,
- (void)centralManager:(CBCentralManager *)central didConnectPeripheral:(CBPeripheral *)peripheral
delegate always gets called. That means connection always succeeds. Anyone who can explain why this happens? Thanks.