I've already tried
if ([event participationStatus] == EKParticipantStatusPending)
and it works. But EKEvent’s participation status is not displayed, and I’m afraid to use it, because perhaps this will lead to a failure due to a private API.
I also tried to iterate over all events of event.attendees, but it seems that EKParticipant isCurrentUser is not giving the correct value. It always returns NO
for (EKParticipant* participant in event.attendees)
{
if ([participant isCurrentUser])
{
if (participant.participantStatus == EKParticipantStatusPending)
{
NSLog(@"NEEDS RESPONSE");
}
}
}
source
share