3
votes

I'm trying to turn my iPhone to an iBeacon, I've seen and tested it that I can do it when I open my app, but I have a question that if I can do it without unlocking the phone and simply by entering the region that there is iBeacon and then got notified on my phone when my phone is locked and then turn my phone to iBeacon just by one of the choices that I got in my notification(without unlocking my phone) so I'm just concerned if anyone knows that Bluetooth Manager and CLLocation work just when you unlocked your phone or it can be done without it. Thanks...

1

1 Answers

4
votes

Due to iOS restrictions, your app cannot act as an iBeacon in the background, only when it is in the foreground. The user would need to tap the notification to open your app before you can broadcast a beacon