Is it possible to programmatically add an iPhone contact to the phone favorites?

天大地大妈咪最大 提交于 2019-12-14 01:19:42

问题


I have an iPhone application that adds new contacts via the Address Book Framework.

Is it possible to programmatically add a new or existing contact to the phone "Favorites" list?

If it is possible, pointer to doc, code or API please?


回答1:


I don't believe it is possible using documented methods (so no App Store for you if you work it out). It is not a feature of the Address Book API but part of Apple's own Contacts application.



来源:https://stackoverflow.com/questions/1598716/is-it-possible-to-programmatically-add-an-iphone-contact-to-the-phone-favorites

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!