EventKit - App freezes when adding an EKEvent with 2 alarms (iOS 5)

前端 未结 4 1033
梦谈多话
梦谈多话 2021-01-13 03:51

I have an app that programmatically adds reminders to your iOS device\'s calendar.

Previous to iOS 5, I could add a calendar item with two alarms thusly:

<         


        
4条回答
  •  长发绾君心
    2021-01-13 04:12

    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.

提交回复
热议问题