Eventstore problem

When I try to request access to the EventStore, the app just closes (crashes?) on the simulator.

This is what I do in a new project with iOS10/Swift3:


let store = EKEventStore()
store.requestAccess(to: .reminder) { (success, error) in
     print("foo")
}


Thanks in advance for any help!

Answered by MucBob in 144663022

Figured it out. I was missing the according "Privacy - Reminders Usage Description" key and value in the info.plist.

Accepted Answer

Figured it out. I was missing the according "Privacy - Reminders Usage Description" key and value in the info.plist.

Eventstore problem
 
 
Q