EKAlarm will not set in iOS 5

前端 未结 3 810
轻奢々
轻奢々 2020-12-19 22:29

I wrote the following snippet to create an event. Setting the alarm works fine in iOS 4, but in iOS 5 it doesn\'t get set. Is this a bug or am I missing something?



        
3条回答
  •  北荒
    北荒 (楼主)
    2020-12-19 22:47

    It seems to be related to that's happening in this ticket: EventKit - App freezes when adding an EKEvent with 2 alarms (iOS 5).

    If you take a look at the EventKit section in the iOS 5 changes from iOS 4.3 document, it mentions that some items are deprecated for EKEvent. The hierarchy has changed and a new abstract superclass has been added: EKCalendarItem.

提交回复
热议问题