iOS 地图与定位开发系列教程(二)
摘要:
下面我们来看一个位置类的基本步骤:一、启动定位服务CLLocationManager *locManager = [[CLLocationManager alloc] init];locManager.delegate = self;[locManager startUpdatingLocation];二、获得位置信息-(void)locationManager:(CLLocationManager *)managerdidUpdateToLocation:(CLLocation *)newLocation fromLocation: (CLLocation *)oldLocation{NST 阅读全文
posted @ 2012-10-29 15:59 Solitary 阅读(197) 评论(0) 推荐(0)