Contents

receivesEventsInView(_:)

A Boolean option that determines whether events are delivered exclusively through the GameController framework.

Declaration

static func receivesEventsInView(_ receivesEventsInView: Bool) -> GameControllerEventHandlingOptions

Discussion

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.