开发者

IOS ABPerson is Member of ABGroup

开发者 https://www.devze.com 2023-02-25 19:34 出处:网络
Is there a fast way in the Address Book framework on the iOS platform to determine which groups a particular address book record belongs too?I have been slogging through the docs and it looks like the

Is there a fast way in the Address Book framework on the iOS platform to determine which groups a particular address book record belongs too? I have been slogging through the docs and it looks like the answer is no.

I need to quickly slap up a list of groups and a checkmark to indicate membership for a particular address book entry. Right now it looks like I need to build the list of开发者_运维百科 groups and group members then search it. Since group membership can be changed in multiple places, I have no easy way of persisting the information between launches and ensuring its still valid.

Thanks for any help.

Rich


yes you are right. In iOS you can't fast and easy get group membership of contact. you can iterate groups arrays only every time :(

0

精彩评论

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

关注公众号