EKReminder property for storing a contact phone number
My iOS app reads EKReminders
, created by native reminder or Siri.
I have access to EKEventStore
and can successfully read reminders and their details such as title, alarms, priority and if it is a location triggered alarm.
What I cannot 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 select one of the stored numbers and then, in Reminders.app, a new one the title of the reminder is underlined as a link; if I click on it, a warning appears to start the call, or if I set a due date when the reminder is triggered by the notification, you should start the call immediately.
I suppose EKReminder has a property (like .structuredLocation
storing an address) for the associated contact or phone number, but I couldn't find it in the documentation or on a google search.
Someone knows how to get a contact, or a phone number, or rent if there is a phone number associated with this reminder (it would be enough for me: I will not import reminders with phone numbers, but I donβt need to know the actual number, to avoid importing it would be enough to know that the number was selected by the user)?
Thanks in advance,
@ cdf1982
source to share