百度地图API问题

1.不显示地图:重新申请API key
2.manager start failed:info.plist加入Bundle display name
3.在info.plist文件中增加
NSLocationWhenInUseUsageDescription  BOOL YES
NSLocationAlwaysUsageDescription         string “提示描述”
两个字段,在iOS8中才能进行正确的获取服务权限
4.-(void)viewWillAppear:(BOOL)animated中添加相关代码(比如设置坐标、放置大头针)才能实现相关功能!


评论

此博客中的热门博文

Delegate

LLVM相关技术文章收集

有关设置NavigationbarItem.titleView的一个坑