Instance Method

scroll(to:)

Changes the origin of the receiver to the specified point.

Declaration

func scroll(to p: CGPoint)

Parameters

thePoint

The new origin.

See Also

Scrolling the layer

func scroll(to: CGRect)

Scroll the contents of the receiver to ensure that the rectangle is visible.