iOS Multipeer connectivity framework invitationHandler doesn't seem to accept?
问题 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 as described when I run my code on two separate devices up until the point when the 'advertiser' receives the delegate callback: The browsing client's delegate callback is called when it discovers the advertiser: -(void)browser:(MCNearbyServiceBrowser *)browser foundPeer:(MCPeerID *)peerID withDiscoveryInfo:(NSDictionary *)info{ [[