How to have a working Geofence even if the app is not running? [duplicate]
问题 This question already has answers here : Will iOS region monitoring call didEnterRegion on my app if my app is in a terminated state? (2 answers) Closed 5 years ago . I'm creating a location aware application. I was able to create geofences already, when I test it in my iPhone, I noticed that the calllback methods -didEnterRegion and -didExitRegion are being called when the application is running in foreground and background. But when I killed the application (meaning the application state is