一、在Capabilities选择Background Modes - >ON,勾选 Location updates

二、 infoPlist设置定位权限:
- 允许使用应用期间定位:NSLocationWhenInUseUsageDescription
- 始终允许定位: NSLocationAlwaysUsageDescription

一、在Capabilities选择Background Modes - >ON,勾选 Location updates
二、 infoPlist设置定位权限:
本文标题:Xcode配置
本文链接:https://www.haomeiwen.com/subject/hxwzxxtx.html
网友评论