Contents

scrollTo(x:y:)

Scrolls the position of the scroll view to the x and y value you provide.

Declaration

mutating func scrollTo(x: CGFloat, y: CGFloat)

Discussion

The scroll view will clamp this value to only scroll to the size of its actual content.