更新时间:2023-12-04 15:24:37
NSLocale
只是关于当前使用的区域设置的设置,并不代表您所在的实际国家/地区in。
NSLocale
is just a setting about currently used regional settings, it doesn't mean the actual country you're in.
使用 CLLocationManager
获取当前位置& CLGeocoder
执行反向地理编码。你可以从那里获得国家名称。
Use CLLocationManager
to get current location & CLGeocoder
to perform reverse-geocoding. You can get country name from there.