Bluetooth LE Device scan in background from iOS

后端 未结 2 982
情歌与酒
情歌与酒 2021-01-04 23:15

I am working on to scan BLE in Background mode.

Issue is not working in Background scan. Its working very fine in Foreground mode.

Below is

2条回答
  •  孤街浪徒
    2021-01-04 23:47

    For your app to continue to receive Bluetooth updates in the background, you need to add a UIBackgroundModes entry to your Info.plist and include the value bluetooth-central in the list.

提交回复
热议问题