我导入CoreLocation
了,但我仍然收到“没有已知的类方法”错误,而且我也没有看到它在CLPlacemark.h
.
+ (instancetype)placemarkWithLocation:(CLLocation *)location
name:(NSString *)name
postalAddress:(CNPostalAddress *)postalAddress;