title: Re-connect bluetooth device when app is terminated by user
body: <p><em>I have a bluetooth device with a button on it. When clicking device's button, notification characteristic updating and my app shows local notification. It's that simple.</em> </p>
  
  <p>I connect bluetooth device in foreground as below : </p>
  
  <pre><code>   var restoreOptions = [CBPeripheralManagerOptionRestoreIdentifierKey: "customIdentifier"]
     centralManager.connect(peripheral, options: restoreOptions)
  </code></pre>
  
  <p>Then setted notification characteristic value is true : </p>
  
  <pre><code>   peripheral.setNotifyValue(true, for: notificationCharacteristic)
  </code></pre>
  
  <p>When notification characteristic update, app shows local notification : </p>
  
  <pre><code>   func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error: Error?) {
         showLocalNotification()
     }
  </code></pre>
  
  <p>When notification characteristic is change , didUpdateValueFor is triggered and local notification shows. There is no problem in foreground and background. But when application is terminated by user, bluetooth device is disconnected and didUpdateValueFor not triggered. I want to re-connect again bluetooth device when characteristic change even app is terminated by user. How can I do this ? I hope I can tell you my problem. Thank you.</p>