// 获取当前所在的城市名
CLGeocoder *reverseGeocoder=[[CLGeocoder alloc] init];
[reverseGeocoder reverseGeocodeLocation:newLocation completionHandler:^(NSArray *array, NSError *error)
{
CLPlacemark *placeMark = [array lastObject];
if (placeMark != nil)
{
NSString *CityName = [placeMark.addressDictionary objectForKey:@"City"];
NSLog(@"城市名:%@",userCityName);
} }];
05-06 18:13