<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEHotspotEAPSettings/preferredTLSVersion",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEHotspotEAPSettings(py)preferredTLSVersion"
  },
  "title" : "preferredTLSVersion"
}
-->

# preferredTLSVersion

The Transport Layer Security (TLS) version to use during a TLS authentication handshake.

```
var preferredTLSVersion: NEHotspotEAPSettings.TLSVersion { get set }
```

## Discussion

Optional. For possible values see [`NEHotspotEAPSettings.TLSVersion`](/documentation/NetworkExtension/NEHotspotEAPSettings/TLSVersion). The default value is Version 1.2.

---

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)