present(_:)
Presents the dashboard in the window.
Declaration
func present(_ viewController: any NSViewController & GKViewController) -> BoolParameters
- viewController:
A Game Center view controller that represents the dashboard.
Return Value
true if the dashboard is presented. false if an error occurs.
Discussion
The dashboard covers the window until the player dismisses it.