Guides and Sample Code


App Programming Guide for tvOS

Working with Game Controllers

Users can connect game controllers to Apple TV just as they do with iOS devices. When a game controller is connected to an Apple TV, the controller can also be used to control the focus-based user interface. Low-level controller inputs are automatically turned into higher-level events that are delivered through the responder chain. If your app relies solely on UIKit and focus interactions, you don’t need to do any work to support Game Controllers. Whether or not a user is using an Apple TV remote or a game controller is transparently handled for you by tvOS.

If you want to get low-level controller input, you use the Game Controller framework. See Game Controller Programming Guide for more information.