<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebFrameView/allowsScrolling",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WebFrameView(py)allowsScrolling"
  },
  "title" : "allowsScrolling"
}
-->

# allowsScrolling

A Boolean that indicates whether the frame view should allow users to scroll.

```
var allowsScrolling: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, scrolling is allowed; if <doc://com.apple.documentation/documentation/Swift/false>, it is not. If the frame contains a scrolling element, then that value is used as the default; otherwise, the default is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)