I am developing an iOS app in which the user enters their mobile number. How do I get their country calling code? For example, if a user is in India, then +91 s
+91
I think you need to use NSLocale for using Country code of the user.
NSLocale
You can follow this link to understand use of NSLocale class reference.
Also study this link for ISOCountryCode property.
ISOCountryCode
Hope this may help you.