Instance Property

contentOffset

The current content offset for the scrollable container.

Required.

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.

See Also

Retrieving the Content Size.

var contentSize: CGSize

The total size of the content contained by this container.

Required.

var visibleSize: CGSize

The visible size of the scrollable container.

Required.