<!--
{
  "documentType" : "article",
  "framework" : "MultipeerConnectivity",
  "identifier" : "/documentation/MultipeerConnectivity/minimum_and_maximum_supported_peers",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Minimum and Maximum Supported Peers"
}
-->

# Minimum and Maximum Supported Peers

Constants that define the minimum and maximum number of peers supported in a session.

## Topics

### Constants

[`let kMCSessionMaximumNumberOfPeers: Int`](/documentation/MultipeerConnectivity/kMCSessionMaximumNumberOfPeers)

The maximum number of peers that a session can support, including the local peer.

[`let kMCSessionMinimumNumberOfPeers: Int`](/documentation/MultipeerConnectivity/kMCSessionMinimumNumberOfPeers)

The minimum number of peers that a session can support, including the local peer.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)