I have already tried the
if ([event participationStatus] == EKParticipantStatusPending)
and it is working. But the participationStatus of the EKEvent is not exposed and I'm afraid to use it as maybe it will result in a rejection because of a private API.
I have also tried looping through all of the event.attendees but it seems that the EKParticipant isCurrentUser does not give the correct value. It always returns NO
for (EKParticipant* participant in event.attendees)
{
if ([participant isCurrentUser])
{
if (participant.participantStatus == EKParticipantStatusPending)
{
NSLog(@"NEEDS RESPONSE");
}
}
}