<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "macCatalyst: 18.2.0 -",
    "macOS: 15.2.0 -",
    "visionOS: 2.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebpagePreferences/UpgradeToHTTPSPolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:@E@WKWebpagePreferencesUpgradeToHTTPSPolicy"
  },
  "title" : "WKWebpagePreferences.UpgradeToHTTPSPolicy"
}
-->

# WKWebpagePreferences.UpgradeToHTTPSPolicy

```
enum UpgradeToHTTPSPolicy
```

## Overview

\abstract A secure navigation policy represents whether or not there is a
preference for loading a webpage with https, and how failures should be
handled.

---

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)