Contents

scrollTo(y:)

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

Declaration

mutating func scrollTo(y: CGFloat)

Discussion

The scroll view chooses the x value based on the content insets of the scroll view and will clamp this value to only scroll to the size of its actual content.