<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFocusItemScrollableContainer",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIFocusItemScrollableContainer"
  },
  "title" : "UIFocusItemScrollableContainer"
}
-->

# UIFocusItemScrollableContainer

A type of focus item container that supports automatic scrolling of focusable content.

```
@MainActor protocol UIFocusItemScrollableContainer : UIFocusItemContainer
```

## Overview

The focus engine scrolls the container to keep items onscreen as they become focused. This is done by repeatedly setting [`contentOffset`](/documentation/UIKit/UIFocusItemScrollableContainer/contentOffset).

## Topics

### Retrieving the content size

[`var contentOffset: CGPoint`](/documentation/UIKit/UIFocusItemScrollableContainer/contentOffset)

The current content offset for the scrollable container.

[`var contentSize: CGSize`](/documentation/UIKit/UIFocusItemScrollableContainer/contentSize)

The total size of the content contained by this container.

[`var visibleSize: CGSize`](/documentation/UIKit/UIFocusItemScrollableContainer/visibleSize)

The visible size of the scrollable container.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

### Conforming Types

[`UITextView`](/documentation/UIKit/UITextView)

[`UITableView`](/documentation/UIKit/UITableView)

[`UICollectionView`](/documentation/UIKit/UICollectionView)

[`UIScrollView`](/documentation/UIKit/UIScrollView)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)