News Archive

i am calling peripheral services methods are not getting called

var connectedDevice: CBPeripheral?   func discoverServices()     {                               self.connectedDevice?.delegate = self             self.connectedDevice?.discoverServices(nil)           }       /       func peripheral(peripheral: CBPeripheral, didDiscoverCharacteristicsForService service: CBService, error: NSError?)     {               let charac = service.characteristics! …