iOS8使用CoreLocation获取当前地理位置
1.导入CoreLocation.framework框架
#import
2.定义CLLocationManager类型的属性
@property (strong, nonatomic) CLLocationManager *locationM;
3.初始化CLLocationManager, 开始定位
if ([CLLocationManager locationServ
原创
2015-08-20 21:09:39 ·
482 阅读 ·
0 评论