<!--
{
  "availability" : [
    "iOS: 6.0.0 - 26.0.0",
    "iPadOS: 6.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKChallengeState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:@E@GKChallengeState"
  },
  "title" : "GKChallengeState"
}
-->

# GKChallengeState

The state of a challenge.

```
enum GKChallengeState
```

## Topics

### Challenge States

[`GKChallengeStateInvalid`](/documentation/GameKit/GKChallengeState/invalid)

The challenge isn’t valid because an error occurred.

[`GKChallengeStatePending`](/documentation/GameKit/GKChallengeState/pending)

The player issued a challenge, but the other player hasn’t accepted or refused it.

[`GKChallengeStateCompleted`](/documentation/GameKit/GKChallengeState/completed)

The player successfully completed the challenge.

[`GKChallengeStateDeclined`](/documentation/GameKit/GKChallengeState/declined)

The player declined the challenge.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)