EKAlarm not works for Event || Alarm added but not triggered to an event iOS swift
Solution:
EKAlarm had different methodology to handle.If you had an event with start date and end date and your event wants to trigger an alarm at the time of event start then you don't have to give the absolute date to the event.
If your event wants to trigger an alarm before the event start then you can give the absolute date and time.Then only it will works.If you set an alarm date with same time of an event then it will never trigger an alarm.So carefully update that.
alarm.absoluteDate = e.startDate //avoid this line when event start time and alarm time as same
Comments
Post a Comment