---
title: contentOffset
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscrollview/contentoffset
---

# contentOffset

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

## Declaration

```swift
var contentOffset: CGPoint { get set }
```

## Mentioned in

Estimating the height of a table’s scrolling area

## Discussion

Discussion The default value is CGPointZero.

## See Also

### Managing the content size and offset

- [contentSize](uikit/uiscrollview/contentsize.md)
- [setContentOffset(_:animated:)](uikit/uiscrollview/setcontentoffset(_:animated:).md)
