you can get information like bellow with its Delegate method..
UPDATE:
First Define this variable in .h
file like bellow..
NSString *postcode,*locationName;
and use it in bellow method...
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
CLGeocoder * geoCoder = [[CLGeocoder alloc] init];
[geoCoder reverseGeocodeLocation:newLocation completionHandler:^(NSArray *placemarks, NSError *error) {
for (CLPlacemark * placemark in placemarks) {
postcode = [placemark postalCode];
[postcode retain];
locationName = [placemark name];
[locationName retain];
NSLog(@"\n placemark %@",placemarks);
}
}];
[geoCoder release];
NSLog(@"\n Location Name ==> %@ ----> GotPostCode:%@",locationName,postcode);
}
here you can also use other property of CLGeocoder
like locality
,location
,etc...