I'm sending files between devices using the framework MultipeerConnectivity. I learned that by default this framework can connect with up to 8 devices, so in my case I would like to reduce this to only 2 devices (which in this case is mine and the other person)
In the documentation he says that we can use the constant:
kMCSessionMaximumNumberOfPeers and kMCSessionMinimumNumberOfPeers
Below is my code that configure the MCSession:
mySession = [[MCSession alloc] initWithPeer:self.myPeerID];
mySession.delegate = self;
Now, how can I use the constant up in my code to define the maximumPeers and the minimumPeers?