---
title: hasOnlySecureContent
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/hasonlysecurecontent
---

# hasOnlySecureContent

A Boolean value that indicates whether the web view loaded all resources on the page through securely encrypted connections.

## Declaration

```swift
var hasOnlySecureContent: Bool { get }
```

## Discussion

Discussion WKWebView is key-value observing (KVO) compliant for this property.

## See Also

### Inspecting the view information

- [scrollView](webkit/wkwebview/scrollview.md)
- [title](webkit/wkwebview/title.md)
- [url](webkit/wkwebview/url.md)
- [mediaType](webkit/wkwebview/mediatype.md)
- [customUserAgent](webkit/wkwebview/customuseragent.md)
- [serverTrust](webkit/wkwebview/servertrust.md)
- [themeColor](webkit/wkwebview/themecolor.md)
- [underPageBackgroundColor](webkit/wkwebview/underpagebackgroundcolor.md)
