contentOffset
The current content offset for the scrollable container.
Declaration
var contentOffset: CGPoint { get set }Discussion
If the scrollable container contains bounds, then bounds.origin must be equal to the content offset. The system repeatedly sets this property to simulate animated scrolling.