what GKSession doesn't connect on every attempt?
问题 In application, invitationDidFail is being called, some time it connects properly, but sometime it doesn't... what can be possible reasons of denying the connection? // Display an alert sheet indicating a failure to connect to the peer. - (void) invitationDidFail:(SessionManager *)session fromPeer:(NSString *)participantID { NSString *str; if (alertView.visible) { // Peer cancelled invitation before it could be accepted/rejected // Close the invitation dialog before opening an error dialog