开发者

In IPhone how do we know the country or city code of the user

开发者 https://www.devze.com 2023-03-21 11:34 出处:网络
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

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];?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号