contacts-framework

Programmatically remove contact from adress book on specific time in swift [closed]

こ雲淡風輕ζ 提交于 2019-12-22 08:52:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am trying to programmatically remove contacts from address book on specific time. Is it even possible in Swift and do Apple allow it?. I'm already familiar with CNContactStore because I have got working adding contacts into phonebook. Granted access into Contacts etc.. But I do not know how to programmatically

create new group with contacts framework, CNErrorDomain Code = 2

别来无恙 提交于 2019-12-21 04:29:28
问题 i try to create and save a group with the Contacts Framework. First the user authorize the App for contacts access. A viewcontroller is presented and with a + button user shows an alertview with textfield. The user types the group name he wants and click to button of the alertview (save). This is the code for saving the new group. The group name is available but it is not possible to save this group anyway: CNContactStore *contactStore = [CNContactStore new]; [contactStore

Programmatically remove contact from adress book on specific time in swift [closed]

断了今生、忘了曾经 提交于 2019-12-05 13:56:29
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am trying to programmatically remove contacts from address book on specific time. Is it even possible in Swift and do Apple allow it?. I'm already familiar with CNContactStore because I have got working adding contacts into phonebook. Granted access into Contacts etc.. But I do not know how to programmatically delete contacts from addressbook(forever) on specific time. Any help is appreciated! REFERENCE: http: