title: CBCentralManager -- willRestore -- CBCentralManagerRestoredStateScanServicesKey
body: <p>When restoring state with CBCentralManager the dictionary sometimes contains a scanned peripheral's UUID</p>
  
  <pre><code>internal func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) {
      let scannedPeripherals = dict[CBCentralManagerRestoredStateScanServicesKey] as? [CBUUID]
  }
  </code></pre>
  
  <p>In contrast to <em>willRestoreState</em>, <em>didDiscoverPeripheral</em> provides CBPeripheral objects that the Central Manager can connect with.</p>
  
  <p>My question is, what can I do with the UUID? The Central Manager can't connect or detect the device when this happens.</p>