Getting country calling prefix

后端 未结 10 1241
耶瑟儿~
耶瑟儿~ 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:51

    See RMPhoneFormat for a class that provides this information as well as formatting phone numbers.

    Note: this was created by me.

提交回复
热议问题