Instance Property


The point at which the origin of the content view is offset from the origin of the scroll view.


var contentOffset: CGPoint { get set }


The default value is CGPointZero.

See Also

Managing the Content Size and Offset

var contentSize: CGSize

The size of the content view.

func setContentOffset(CGPoint, animated: Bool)

Sets the offset from the content view’s origin that corresponds to the receiver’s origin.