GCEventViewController
A view controller that delivers input either from the responder chain to views, or from game controllers to profiles.
Declaration
class GCEventViewControllerMentioned in
Overview
On systems, such as tvOS, where the player uses the game controller to both navigate the system interface and play your game, use a GCEventViewController object as the root view controller to selectively receive input directly from the game controller. You can’t simultaneously process input through the responder chain and Game Controller input elements.
By default the system delivers input events to your app using the responder chain. To get the input values through the game controller objects, set a GCEventViewController object as the root view controller. The view controller delivers the input for its views and their subviews to the game controller’s profile. To switch back to the responder chain, set the view controller’s controllerUserInteractionEnabled property to true.