I am doing this from my application.
in the background, CoreBluetooth is said to be up to 55 times slower than the peripheral ad interval. To speed this up, I programmed an ad peripheral every 20 ms for the first 30 seconds.
You should also define “Background mode required” when “Application communicates using CoreBluetooth” in your project “Goals” → “Information”.
The application takes some time to search for peripherals in the background.
source share