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.

var contentOffset: CGPoint

The current content offset for the scrollable container.

Required.

var contentSize: CGSize

The total size of the content contained by this container.

Required.

var visibleSize: CGSize

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.

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.