I have been creating a peer to peer connection for a new game, that does not use the peer picker. I am however dumbstruck as what to i put in here:
- (void)session:(GKSession *)session didReceiveConnectionRequestFromPeer:(NSString *)peerID {
NSLog(@"I GOTS A CONNECTION REQUEST");
if(connected == YES) {
//deny all requests
}
else if(connected == NO) {
[session acceptConnectionFromPeer:peerID error:???????];
}
}
What should i put where the question marks are. The documentation says NSError **. Thank You.