<!--
{
  "availability" : [
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKDialogController/present(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKDialogController(im)presentViewController:"
  },
  "title" : "present(_:)"
}
-->

# present(_:)

Presents the dashboard in the window.

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

## Parameters

`viewController`

A Game Center view controller that represents the dashboard.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the dashboard is presented. <doc://com.apple.documentation/documentation/Swift/false> if an error occurs.

## Discussion

The dashboard covers the window until the player dismisses it.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)