---
title: selectionGranularity
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebviewconfiguration/selectiongranularity
---

# selectionGranularity

The level of granularity with which the user can interactively select web view content.

## Declaration

```swift
var selectionGranularity: WKSelectionGranularity { get set }
```

## Discussion

Discussion The value is one of the constants of the enumerated type WKSelectionGranularity. The default value is WKSelectionGranularity.dynamic.

## See Also

### Setting selection granularity

- [WKSelectionGranularity](webkit/wkselectiongranularity.md)
