I was just curious if there were any simple methods for retrieving the country calling code from a user's phone.
For instance, I want my app to automatically fill in the users' country calling code.
Code +1 will be returned if the user is in the United States, +83 for users in China, +61 for users in Australia, etc.
I looked around, but all I saw was:-
NSLocale *locale = [NSLocale currentLocale];
NSString *countryCode = [locale objectForKey: NSLocaleCountryCode];
which does not return the calling prefix but rather the country code abbreviation?
Please lend a hand!