I want to use this method. https://developer.apple.com/reference/corelocation/clplacemark/2132103-placemarkwithlocation?language=objc#declarations
I imported CoreLocation
but I still get "No known class method" error and I also don't see it defined anywhere in CLPlacemark.h
.
+ (instancetype)placemarkWithLocation:(CLLocation *)location
name:(NSString *)name
postalAddress:(CNPostalAddress *)postalAddress;