How to set background operations
To support background operations in your app, in the project's Capabilities tab, under Background Modes, select Uses Bluetooth LE devices.
To test background operations in the sample app:
- Run the app using Xcode.
- Connect a scanner to the app.
- Stop the app using Xcode.
The scanner remains connected.