Reputation: 449
I am using GKPeerPickerController , i need to send message using wifi , so iam using following code
picker = [[GKPeerPickerController alloc] init];
picker.connectionTypesMask= GKPeerPickerConnectionTypeOnline;
picker.delegate = self;
but when i use this following error occurs
Terminating app due to uncaught exception 'GKInvalidArgumentException', reason: 'A GKPeerPickerController must support GKPeerPickerConnectionTypeNearby at a minimum.'
please help how to solve it?
Upvotes: 0
Views: 558