I wonder how can I set accept/may be/decline participant status for an EKEvent
for which current user has been invited?
I can check the participant set but EKEvent
found nothing for which I can set its status.
I wonder how can I set accept/may be/decline participant status for an EKEvent
for which current user has been invited?
I can check the participant set but EKEvent
found nothing for which I can set its status.
Status is maintained per each EKParticipant (not on the EKEvent itself), but you can't set it programmatically: [EKParticipant participantStatus]
is read only. Per the Apple docs,
Event Kit cannot add participants to an event nor change participant information.
The closest approximation of this would be to bring up the event using EventKitUI components and allow the user to update the event as they see fit.