小编use*_*679的帖子

iOS 8 Mapview当前位置不会激发

MKMapview当前用户位置没有开火iOS-8,之前iOS-7iOS-6工作正常.

     self.mapView.delegate = self;
     self.mapView.showsUserLocation =YES; 
Run Code Online (Sandbox Code Playgroud)

在此行中自动调用用户当前位置委托方法

- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations{
}
Run Code Online (Sandbox Code Playgroud)

但它并没有开火iOS-8.

iphone objective-c mkmapview

5
推荐指数
1
解决办法
4469
查看次数

标签 统计

iphone ×1

mkmapview ×1

objective-c ×1