<!--
{
  "availability" : [
    "iOS: 8.0.0 - 11.0.0",
    "iPadOS: 8.0.0 - 11.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKSelectionGranularity/dynamic",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:@E@WKSelectionGranularity@WKSelectionGranularityDynamic"
  },
  "title" : "WKSelectionGranularity.dynamic"
}
-->

# WKSelectionGranularity.dynamic

Granularity that varies automatically depending on the selection.

```
case dynamic
```

## Discussion

When the selection is within a single block, the granularity may be single character. When the selection is not confined to a single block, the granularity may be a single block.

---

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)