saveEvent returning “No calendar has been set”

空扰寡人 提交于 2019-12-05 15:36:18

Just managed to somehow find a solution for my problem. I had to navigate from one page to another, so posting the link to the two pages.

First -> https://discussions.apple.com/message/16497282#16497282

Then, from there to -> https://discussions.apple.com/message/16479587#16479587

I had to go into Settings>iCloud> and turn on Calendars. After that, I tried to attempt and run my code, and it was working well and fine again.

Do attempt this, if you facing a similar problem.

I was working on iPad 2, and with iOS 6.1.3 installed on the device.

Amazing I am testing my code on two different devices, one it works fine and the other it will not work. Just looked in setting and the one with it not working has iCloud calendar and reminders turned off, just turn them on and it all works now... this has to be a bug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!