Checkout the background execution mode . In this case, the application does not need to be launched in the foreground, but it must be launched earlier and must be at least in the background.
iOS7 introduces Bluetooth preservation and recovery for long-term Bluetooth tasks. This way, even a completed application will be restored in the background using os.
source share