Contents

autoscroll(to:)

Indicates that a text gesture initiated autoscrolling.

Declaration

func autoscroll(to point: CGPoint)

Parameters

  • point:

    The location to which to autoscroll, in the coordinate system of your view’s Textinputview.

Mentioned in

Discussion

The text system calls the method repeatedly when a gesture requires the text view to scroll, for example, when a person adjusts the text selection range, or places the text cursor. The text system sends cancelAutoscroll() when there are no further updates.