When I try to call [newEventStore defaultCalendarForNewEvents], it returns an error message says:
[707:907] defaultCalendarForNewEvents failed: Error Domain
Go to Simulator/Device settings/Privacy/Calendars/YourApp Tap ON to allow calendar access. And retry your code.It will work.