Class

UIFocusMovementHint

Provides movement hint information for the focused item.

Declaration

class UIFocusMovementHint : NSObject

Topics

Moving Focus

var movementDirection: CGVector

A vector representing how close focus is to moving to another item in the swiped direction.

Transforming a Hint

var interactionTransform: CATransform3D

A 3D transform that contains the combined transformations of perspective, rotation, and translation.

var perspectiveTransform: CATransform3D

A 3D transform that represents a perspective matrix to be applied to match UIKit interaction hinting.

var rotation: CGVector

A vector to apply to a transform to match system interaction hinting.

var translation: CGVector

A vector to apply to a transform to match system interaction hinting.

Relationships

Inherits From

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.

protocol UIFocusItemContainer

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

protocol UIFocusItemScrollableContainer

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