アプリケーションのどこかで「ユーザーの場所」を使用したいと考えています。以下のコードを見つけました。ただし、「プロパティ '場所' と 'デリゲート' が見つかりません」というエラーが表示されます。アプリケーションはますます複雑になり、解決策が見つからないようです。私はxcodeとobjective-cが初めてです。それで、それについて私を助けてくれませんか?コードは次のとおりです。
-(void)getUserLocation{
self.geoCoder = [[CLGeocoder alloc] init];
self.locationMng = [[CLLocationManager alloc]init];
locationMng.delegate = self;
[self.geoCoder reverseGeocodeLocation: locationMng.location completionHandler: 
 ^(NSArray *placemarks, NSError *error) {
     CLPlacemark *placemark = [placemarks objectAtIndex:0];
     NSString *locatedAt = [[placemark.addressDictionary valueForKey:@"FormattedAddressLines"] componentsJoinedByString:@", "];
     NSLog(@"I am currently at %@",locatedAt);
    [locationLabel setText:locatedAt];
 }];
} 
前もって感謝します!