An old code detecting the full country name fails under iOS 13 (Beta 3):
NSString *displayNameString = [[NSLocale currentLocale] displayNameForKey:NSLocaleCountryCode value:@"FR"];
displayNameString is nil.
You can check yourself this sample:
NSLocale *currentLocale = [NSLocale currentLocale];
NSString *countryCode = [currentLocale objectForKey:NSLocaleCountryCode];
NSString *displayNameString = [[NSLocale currentLocale] displayNameForKey:NSLocaleCountryCode value:countryCode];
Is it a bug in iOS? Is there another way to detect the country name?