The session prefers to use encryption, but accepts unencrypted connections. A connection uses encryption when all the peers choose either
MCEncryption. If some peers choose
MCEncryption, then the session will not be encrypted. For this reason, if some peers running your app can be configured without encryption, you should always assume that the session is unencrypted.
- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+