I am developing one app, i would like to know about location manager that will it work when user remove the app from background in iOS 7 and above?
我正在开发一个应用程序,我想知道位置管理器,当用户从iOS 7及更高版本的后台删除应用程序时它会起作用吗?
I am using this delegate method: -(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations;
我正在使用这个委托方法: - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations;
Will it get called when the app is removed from background?
当应用程序从后台删除时会被调用吗?
The distance filter i have set is 50 meters with desiredAccuracy of NearestHundredMeters.
我设置的距离滤镜是50米,具有所需的NearestHundredMetersAccuracy。
Regards, Aamir
此致,Aamir
1 个解决方案
#1
0
if you want to run your app when app is removed from background, you have to follow some instruction which are in this document.
如果您想在从后台删除应用程序时运行您的应用程序,则必须遵循本文档中的一些说明。
https://developer.apple.com/Library/ios/documentation/UserExperience/Conceptual/LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html
#1
0
if you want to run your app when app is removed from background, you have to follow some instruction which are in this document.
如果您想在从后台删除应用程序时运行您的应用程序,则必须遵循本文档中的一些说明。
https://developer.apple.com/Library/ios/documentation/UserExperience/Conceptual/LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html