---
title: "checkPendingGameActivityExistence(completionHandler:)"
framework: gamekit
role: symbol
role_heading: Type Method
path: "gamekit/gkgameactivity/checkpendinggameactivityexistence(completionhandler:)"
---

# checkPendingGameActivityExistence(completionHandler:)

Checks whether there is a pending activity to handle for the current game.

## Declaration

```swift
class func checkPendingGameActivityExistence(completionHandler: @escaping @Sendable (Bool) -> Void)
```

```swift
class var hasPendingGameActivities: Bool { get async }
```

## Discussion

Discussion You can call this method before you initialize Game Center to avoid activating the system banner or welcome experience.
