I have to get the current country in the iPhone settings. Can anyone tell me how to get the current country in iPhone application.
I have to use the current country
For Swift 4.0,
You can simply use
let countryCode = Locale.current.regionCode
print(countryCode)