3

I have an app that from some reason needs to assign a custom date to the user contacts, The app was out and worked fine. Now I wish to build a swift version of the app.

While testing it on xCode 6, iOS7 + 8 everything looks great, but when testing in a device I see that the date is added as the Anniversary date of the user and without my custom label.

I tried to add the date directly in the native Contacts app and found that new contacts does not have an option to add a custom date.

Testing on Yosemite I still find this option available.

When checking the ABPerson API I found that the API still has the kABMultiDatePropertyType

// Dates
AB_EXTERN const ABPropertyID kABPersonDateProperty;              
// Dates associated with this person - kABMultiDatePropertyType

It is important to note that when saving the new date I do not get any Error and the date is saved but without my custom label which is important as I do not want to override the user Anniversary date.

Any idea why this is happening / any workaround ?

4

0 回答 0