Contents

scroll(to:)

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

Declaration

func scroll(to r: CGRect)

Parameters

  • r:

    The rectangle that should be visible.

See Also

Scrolling the layer