I have set the "Required background modes" key to "App registers for location updates". this allows tracking the user’s location in the background. but when i get gps information from the mkmapvi开发者_JS百科ew.userlocation background ,i found that the gps information is the same as when it is running foreground last time. this means the mkmapview.userlocation doesn't update when running background. Is that right? is there any idea to get user location information from the mkmapview.userloction when running background?
I have found that the MKMapview.userLocation isn't updating the location info when it is running background. so i have to use the cllocation to get location info background
精彩评论