Pertanyaan tentang topik tersebut 'nslocale'

NSLocale - menemukan CountryCode dan kemudian menggunakannya untuk menyebarkan kode
Saya bingung mengapa kode ini tidak berfungsi sesuai komentar di bawah: NSString *countryCode = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode]; NSLog(@"Country Code: %@", countryCode); if (countryCode == @"US") { NSLog(@"Country...
2132 dilihat
schedule 19.12.2023