- 博客(1)
- 收藏
- 关注
原创 CLLocationManager和UIMapView
CLLocationManager和UIMapView都能进行定位 但CLLocationManger得到的经纬度有偏移,需要算法进行修正, 而UIMapView得到的经纬度已经进过苹果自身修正. 在iOS8中, 得调用CLLocationManager的实例方法requestWhenInUserAuthorize弹出对话框让用户授权定位, 否则用户得去系统设置中允许app定位.
2014-12-02 22:47:46
150
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人