My iOS app reads EKReminders
created by the native Reminders app or by Siri.
I have access to the EKEventStore
and I can successfully read Reminders and their details, such as title, alarms, priority and if it is a location-triggered alarm.
What I'm not able to do is read the contact / phone number associated with the Reminder: I can tell Siri to remind me to call my sister, she asks me to pick one of the saved number and then, in Reminders.app, the new reminder title is underlined like a link; if I tap it, an alert to start the call appears or, if I set a due date, when the reminder is due the notification has an action to start the call right away.
I suppose the EKReminder has a property (like .structuredLocation
stores the address) for the associated contact or the phone number, but I haven't been able to find it in the documentation or by searching Google.
Someone knows how to get the contact, or the phone number or, at lease, if there's a phone number associated with that Reminder (it would be enough for me: I will not import any reminders with phone numbers, but I don't need to know the actual number to avoid importation, it would be enough to know that a number had been selected by user)?
Thanks in advance,
@cdf1982