Enumeration

WKSelectionGranularity

The granularity with which a selection can be created and modified interactively.

Declaration

enum WKSelectionGranularity : Int

Overview

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

Topics

Constants

case character

Selection endpoints can be placed at any character boundary.

case dynamic

Selection granularity varies automatically depending on the selection.

See Also

Setting Selection Granularity

var selectionGranularity: WKSelectionGranularity

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