How do you limit number of connected users on MultipeerConnectivity in Swift?

511 views Asked by At

How do you limit the number of connected peers on the MultipeerConnectivity Framework in Swift?

1

There are 1 answers

2
Anh.LT On

Invite peers to join the session using an MCNearbyServiceBrowser object, an MCBrowserViewController object, or your own peer discovery code. (Sessions currently support up to 8 peers, including the local peer.) https://developer.apple.com/reference/multipeerconnectivity/mcsession