hi to all,
I am using following GKSession delegate functions. I wish them to be called when some one accept the request from the other device.
- (void)session:(GKSession *)session didReceiveConnectionRequestFromPeer:(NSString *)peerID
{
printf("\n\n\n\n received the resquest \n\n\n\n");
}
- (BOOL)acceptConnectionFromPeer:(NSString *)peerID error:(NSError **)error
{
printf("\n\n\n\n\n acceptConnectionFromPeer \n\n\n\n");
return YES;
}
But they are not called upon accepting request. I used breakpoints in them. but control doesn't come in these functions. Anything I am doing wrong?
No one of other delegate functions I think can be used for accepting request.
please help
thanks in advance