iPhone Address Book: How to get a list of only contacts with phone numbers?

后端 未结 2 1095
猫巷女王i
猫巷女王i 2021-02-10 15:40

I\'d like to get a list of all ABContacts that have a phone number and only those contacts. Any contacts with just an email I do not want to show.

Android has a field ca

2条回答
  •  执念已碎
    2021-02-10 16:31

    There is no easy way or help like this in iOS, you have to parse your Array and if the people you are parsing have a phone number or a list of phones number not empty you add it to your final Array.

提交回复
热议问题