Focus Interactions

Navigate the interface of your UIKit app using a remote or game controller.

Topics

Focus Interactions

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

The current state of the user interface's focus system.

class UIFocusUpdateContext

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

protocol UIFocusItem

A protocol—not intended for conformance by third-party classes—that lets an item declare its ability to participate in the focus system.

Focus Guides

class UIFocusGuide

An object that exposes nonview areas as focusable.

Debugging Support

class UIFocusDebugger

A runtime object for debugging focus-related interactions.

Animations

class UIFocusAnimationCoordinator

A coordinator of focus-related animations during a focus update.

See Also

User Interactions

Touches, Presses, and Gestures

Encapsulate your app's event-handling logic in gesture recognizers so that you can reuse that code throughout your app.

Drag and Drop

Bring drag and drop to your app by using interaction APIs with your views.

Peek and Pop

Use 3D Touch input to display custom previews and actions for your content.

Keyboard and Menus

Handle keyboard input, and display a menu of custom actions.

Accessibility

Make your app more accessible to users with disabilities.