Hi! I'm totally new on iBeacons and I've been reading the official documentation about it on Apple's website.
https://www.cultofmac.com/270173/arent-people-freaking-ibeacon/LDzGJv7qcWDUcTYS.99
iBeacon on Apple
Getting started with iBeacon
https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html#//apple_ref/doc/uid/TP40009497-CH9-SW1
I understand that, as long as the app is installed, it is possible (since iOS 7.0) to detect when entering a region and manage to send a local notification to the user even when the app is totalle killed. The thing is that I can't find somewhere with an example that actually does that.
I've been able to monitor my beacon and identify when I'm near, far, etc. and if I entered or exited the region.. while on foreground; but I haven't been able to do anything when the app is killed.
I understand that the OS detects somehow that it entered the region and breefly wakes up the app just to let it know (which gives enough time to create a local notification), but I haven't find a reference to know which event is triggered or to what do I need my AppDelegate to subscribe.
I've enabled "location updates" and "uses bluetooth LE accesories" on background modes, I have the proper privacy keys on info, I do both startMonitoring and startRangingBeacons on a view controller but my AppDelegate is subscribed as an observer to certain events.
I would like to know if anyone here has an example or could point me to a nice direction to find out maybe which events on the AppDelegate get triggered or if I need to do something specific.
Thanks a lot for any help you could give me!