I use this code to set a label with a location bar
locationString = [[NSString alloc] initWithFormat:@"%@%@ - %@ %@%@",
thoroughfare,subThoroughfare,postalCode,
locality,countryCode];
locationLabel.text = locationString;
where the mark is marked with the tag, subThoroughfare, postalCode, locality, countryCode.
Now I want to render this line according to the current locale. Have I set a string format for each region I'm interested in, or is there an easier way to get this?
Thanks Fran
source
share