---
title: "show(withTitle:message:completionHandler:)"
framework: gamekit
role: symbol
role_heading: Type Method
path: "gamekit/gknotificationbanner/show(withtitle:message:completionhandler:)"
---

# show(withTitle:message:completionHandler:)

Displays a banner with a title and message to the player.

## Declaration

```swift
class func show(withTitle title: String?, message: String?, completionHandler: (@Sendable () -> Void)? = nil)
```

```swift
class func show(withTitle title: String?, message: String?) async
```

## Parameters

- `title`: The title of the banner.
- `message`: The message on the banner.
- `completionHandler`: The block that GameKit calls when the player dismisses the banner.

## See Also

### Displaying the Banner

- [show(withTitle:message:duration:completionHandler:)](gamekit/gknotificationbanner/show(withtitle:message:duration:completionhandler:).md)
