遇到个BUG,卡了很久,就是在iOS9上定位接口是正常的,可是在iOS7上就一直拿不到回调,可是看系统日志其实已经定位到了.老是在报一句not response,也没有具体函数名函数
昨天灵机一动,从delegate里找了个函数放上去,OK了.日志
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations
看看哪一个在iOS9上会被调用,哪一个在iOS7上调用.blog