Когда я пытаюсь вызвать [newEventStore defaultCalendarForNewEvents], он возвращает сообщение об ошибке:
[707:907] defaultCalendarForNewEvents failed: Error Domain=EKCADErrorDomain Code=1013 "The operation couldn’t be completed. (EKCADErrorDomain error 1013.)"
[707:907] Error!Failed to save appointment. Description:Error Domain=EKErrorDomain Code=1 "No calendar has been set." UserInfo=0x1fc679f0 {NSLocalizedDescription=No calendar has been set.}
Приложение работает в течение длительного времени. Эта проблема пришла ко мне в первый раз. В телефоне работает IOS6 Beta4. модель - iphone 4. Кто-нибудь знает, когда метод defaultCalendarForNewEvents окажется неудачным? Я не могу получить полезную информацию от googling.