Add participant to an event in iOS
ekevent, ekeventkit, eventkit, ios, iphone
Solution
The iOS reference says the following:
You do not create EKParticipant objects directly. Send attendees to an EKEvent object to get an array of EKParticipant objects.
Unfortunately that `attendees` property is read-only and the ways that these `EKParticipant`'s come into existence is omitted from the reference. It has lead me to believe that the only way to create new participants, is by using the `EKEventEditViewController` (from the `EventKitUI` framework).
Very unsatisfying, I know, so please let there be someone else with a better answer!
Problem
In the EKParticipant Class reference, " Send attendees to an EKEvent object to get an array of EKParticipant objects. " OK, buy how can I send attendees to an EKEvent object? Someone give example code?