A view controller that determines how game controller input data is routed by the operating system.


iOS, Mac Catalyst, tvOS
class GCEventViewController : UIViewController
class GCEventViewController : NSViewController


On tvOS, the game controller is also used to navigate the user interface. When the user navigates the user interface, the operating system automatically creates higher level event objects from the game controller’s raw input data and then delivers these events through the responder chain.

When the system is using generating higher level events from the raw controller data, your game cannot simultaneously receive use this input data. You use a GCEventViewController object as your root view controller when your app need to switch between event delivery to the responder chain and event delivery to the game controller’s profile objects.


Determining Where Controller Inputs are Delivered.

var controllerUserInteractionEnabled: Bool

A Boolean value that indicates whether events are delivered through to the responder chain.