iBeacon: Reconnecting an iOS App to a Bluetooth Device if the App is Terminated

by

While working on a recent iOS project in which an iOS app connects to a Bluetooth device, we discovered an issue: the connection between the app and the Bluetooth device could not be re-established if the app was terminated unless the user manually relaunched the app. Our Bluetooth device was turned on and off periodically throughout the day, so it was essential that it was able to reconnect automatically, even if the app was in the background or had been terminated.