Protocol

UIFocusItemScrollableContainer

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

Declaration

@protocol UIFocusItemScrollableContainer

Overview

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

Topics

Retrieving the Content Size.

contentOffset

The current content offset for the scrollable container.

Required.

contentSize

The total size of the content contained by this container.

Required.

visibleSize

The visible size of the scrollable container.

Required.

Relationships

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.

UIFocusEnvironment

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

UIFocusSystem

Queries and reevaluates the currently focused item.

UIFocusUpdateContext

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

UIFocusItem

An object that can become focused.

UIFocusMovementHint

Provides movement hint information for the focused item.

UIFocusItemContainer

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