<!--
{
  "availability" : [
    "iOS: 8.0.0 - 17.0.0",
    "iPadOS: 8.0.0 - 17.0.0",
    "macCatalyst: 13.1.0 - 17.0.0",
    "macOS: 10.10.0 - 14.0.0",
    "tvOS: 9.0.0 - 17.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKChallengeComposeCompletionBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:@T@GKChallengeComposeCompletionBlock"
  },
  "title" : "GKChallengeComposeCompletionBlock"
}
-->

# GKChallengeComposeCompletionBlock

A completion block that provides information about the player who issues a challenge and the players who receive it.

```
typealias GKChallengeComposeCompletionBlock = (NSViewController, Bool, [String]?) -> Void
```

## Parameters

`composeController`

View controller for the challenge.

`didIssueChallenge`

A Boolean value that indicates whether the player issues the challenge.

`sentPlayerIDs`

The identifiers for the players that receive the challenge.

---

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)