Post not yet marked as solved
Post marked as unsolved with 0 replies, 487 views
Prior to iOS 14 and Xcode 12 the following code worked just fine. Now, whenever calling the addAlarm method on an EKCalendarEvent or EKReminder object fails to set the alarm properly.
let event = EKEvent(eventStore: store)
event.addAlarm(EKAlarm(absoluteDate: someDate()))
//With iOS 14, this returns nil
print(event.alarms)