I’m developing an app that will require setting and removing alarms accordingly. I’m wondering if I set an alarm for an EKEvent, how can I identify it when I want to remove it?
The only accessible properties of the EKAlarm are absoluteDate and relativeOffset. I feel like it would cause problems if the alarm I set has the same relativeOffset or absoluteDate as a different user generated alarm.
Any suggestions?
If there are two alarms that have the same absoluteDate, it seems perfectly acceptable to just remove one or the other, they are essentially duplicates.