Contents

contentOffset

The content offset of the scroll view.

Declaration

var contentOffset: CGPoint { get set }

Discussion

This is the position of the scroll view within its overall content size. This value may extend before zero or beyond the content size when the content insets of the scroll view are non-zero or when rubber banding.