No special programming is required to complete this work. If you can make this application in the background, it should also work after the application is killed or rebooted (if there is enough time to pass for CoreLocation to initialize.)
If you do not see this work, there may be a problem installing the test:
Make sure you leave the beacon zone before killing the application or restarting.
Long enough to wait. In some cases, detection may take up to 15 minutes.
source share