Delete the recursive alarms swift || Calender delete the reminders || EKEVENT delete the recurrence rule
Solution:
In objective c you can do the following code to remove the recurrence rule of the reminders in the calender event.
In objective c you can do the following code to remove the recurrence rule of the reminders in the calender event.
SWIFT:
objective If you tried the following it will not works
try self.eventStore.remove(calendarEvent_toDelete, span: .thisEvent)
The above is for removing the single reminder
Try the below code it will works for recurrence rule.
try self.store.remove(calendarEvent_toDelete, span: .thisEvent, commit: true)
Comments
Post a Comment