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


protocol UIFocusItemScrollableContainer


The focus engine scrolls the container to keep items on-screen as they become focused. This is done by repeatedly setting contentOffset.


Retrieving the Content Size.

var contentOffset: CGPoint

The current content offset for the scrollable container.


var contentSize: CGSize

The total size of the content contained by this container.


var visibleSize: CGSize

The visible size of the scrollable container.



Conforming Types

See Also

Focus Interactions

About Focus Interactions for Apple TV

Design and implement intuitive control schemes for menus and interactive user interface layouts.

Adding User-Focusable Elements to a tvOS App

Create intuitive and easily manipulated user-interactive controls for your tvOS app.

protocol UIFocusEnvironment

A set of methods that define the focus behavior for a branch of the view hierarchy.

class UIFocusSystem

Queries and reevaluates the currently focused item.

class UIFocusUpdateContext

An object that provides information relevant to a specific focus update from one view to another.

protocol UIFocusItem

An object that can become focused.

class UIFocusMovementHint

Provides movement hint information for the focused item.

protocol UIFocusItemContainer

The container responsible for providing geometric context to focus items within a given focus environment.