EKEvent with eventWithIdentifier on iOS

前端 未结 2 1813
广开言路
广开言路 2021-01-02 23:55

If I want to retrieve EKEvent from EKEventStore with eventWithIdentifier method for previously saved event but I always get null.

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 00:44

    I am using newEvent.eventIdentifier instead of newEvent.calendarItemIdentifier and so far, using [store eventWithIdentifier:_project.event_identifier], I can retrieve, delete and edit an existing event. you should try.

提交回复
热议问题