Support hardware game controllers in your game.
SDKs
- iOS 7.0+
- macOS 10.9+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
Overview
The Game Controller framework is used to discover game controllers connected to a device and receive input data from them. You use control profiles to map the physical controls on the device to the inputs needed in your game. After retrieving a profile from the controller, you can either poll the current values of its controls or add handlers to be called when control values change. For more about implementing support for game controllers, see Game Controller Programming Guide.

