---
title: "present(_:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkdialogcontroller/present(_:)"
---

# present(_:)

Presents the dashboard in the window.

## Declaration

```swift
func present(_ viewController: any NSViewController & GKViewController) -> Bool
```

## Parameters

- `viewController`: A Game Center view controller that represents the dashboard.

## Return Value

Return Value true if the dashboard is presented. false if an error occurs.

## Discussion

Discussion The dashboard covers the window until the player dismisses it.

## See Also

### Presenting and Dismissing the Dialog

- [dismiss(_:)](gamekit/gkdialogcontroller/dismiss(_:).md)
