In IPhone how do we know the country or city code of the user
Say I am in Jakarta.
My country is 62 and my city is 21.
If a phone is 123456789 it really is 62 21 123456789
So I need to prepend 62 and 21 to 1234567689 before calling the call function.
How do I do 开发者_StackOverflow社区so in objective-c
Have you looked into [NSLocale currentLocale];
?
精彩评论