Contents

init(for:)

Creates a text interaction with the specified mode.

Declaration

convenience init(for mode: UITextInteractionMode)

Parameters

  • mode:

    A mode determining the selection behaviors that the interaction will provide.

Return Value

A newly initialized text interaction object.