I\'m using the mutlipeer connectivity framework for the first time, and I want programmatic ( not with the assistant classes) control.
Everything is working exactly
There is a bug that Apple is aware of apparently.
This is what led to the discovery: Why does my MCSession peer disconnect randomly?
You must implement the following delegate callback even though it is listed as optional in the docs...
- (void) session:(MCSession *)session didReceiveCertificate:(NSArray *)certificate fromPeer:(MCPeerID *)peerID certificateHandler:(void (^)(BOOL accept))certificateHandler
{
certificateHandler(YES);
}