上一个版本的xcode中模拟机运行demo,地图中的我的位置可以正常显示,升级后不能显示。
请添加
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>为了能让你更好的使用地图服务,请允许</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>为了能让你更好的使用地图服务,请允许</string>
上一个版本的xcode中模拟机运行demo,地图中的我的位置可以正常显示,升级后不能显示。
请添加
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>为了能让你更好的使用地图服务,请允许</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>为了能让你更好的使用地图服务,请允许</string>
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。