relocateViewport(to:)
Relocates the viewport to the location you specify.
Declaration
func relocateViewport(to textLocation: any NSTextLocation) -> CGFloatParameters
- textLocation:
An
NSTextLocation.
Relocates the viewport to the location you specify.
func relocateViewport(to textLocation: any NSTextLocation) -> CGFloatAn NSTextLocation.