简体   繁体   中英

updating the user location in the background swift

I'm working on an app and I need to notify the user when he leaves the place that he is in so I was able to get the user's current location but I couldn't use the location in the background after some search I found that I can update the location when the user move ! so is it really possible !? and how can I do it ?!

You need to look at GeoFencing try this tutorial

http://www.raywenderlich.com/95014/geofencing-ios-swift

it will help.Thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM