One Logo Pool Ball
_GameController_SwiftUI · IOS API REFERENCE

GameControllerEventHandlingOptions

struct · iOS 26.0+ · SDK 27.1

struct GameControllerEventHandlingOptions

Members (2)

static · iOS 26.0+

receivesEventsInView

TypeScript
static receivesEventsInView(receivesEventsInView: boolean): GameControllerEventHandlingOptions
Swift declaration
static func receivesEventsInView(_ receivesEventsInView: Bool) -> GameControllerEventHandlingOptions

A Boolean option that determines whether events are delivered exclusively through the GameController framework. If `true`, events are delivered both through the Game Controller framework and as SwiftUI events to your app's views and gesture recognizers. If `false`, events are delivered **exclusively** through the Game Controller framework.

init · iOS 26.0+

init

TypeScript
static init(): GameControllerEventHandlingOptions
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All _GameController_SwiftUI types →