阅读背景:

如何在Swift iOS中获取给定国家/地区名称的国家/地区电话代码?

来源:互联网 

I'm working on a project I need to send the selected phone number (which user selected already from phone contacts list) to the sever with format : international-code-without-zeros-or-plus_the-number so I need to handle many cases : number without international code , number with zeros , number with plus , number with two zeros ..etc the problem is when I have a local phone number unprecedented by country phone code,I could get the current country name (country name code) if the device has a valid sim card via this codeI'm working on a project I need to send the sel




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: