Getting country calling prefix

后端 未结 10 1243
耶瑟儿~
耶瑟儿~ 2020-12-28 21:04

Just wondering whether there are easy ways to retrieve country calling code from a user\'s phone.

For example, my app would like to pre-fill country

10条回答
  •  时光说笑
    2020-12-28 21:54

    I have come across one more such simple solution on cocoacontrols.com.

    Please check the Country List for iOS.

    It has a json file which can be configured to update more information and used as required.

提交回复
热议问题