<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/GameCenterSettings",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings010GameCenterB0V"
  },
  "title" : "GameCenterSettings"
}
-->

# GameCenterSettings

Constraints on the user’s Game Center settings.

```
struct GameCenterSettings
```

## Overview

Use `GameCenterSettings` to prevent the user from changing Game Center’s settings for adding friends and joining multiplayer games.

## Topics

### Denying the ability to join multiplayer games

[`denyMultiplayerGaming`](/documentation/ManagedSettings/GameCenterSettings/denyMultiplayerGaming-swift.property)

A Boolean value that indicates whether your app prevents the user joining multiplayer games.

[`denyMultiplayerGaming`](/documentation/ManagedSettings/GameCenterSettings/denyMultiplayerGaming-swift.type.property)

The metadata associated with the setting that prevents users from joining multiplayer games.

### Denying the ability to add friends

[`denyAddingFriends`](/documentation/ManagedSettings/GameCenterSettings/denyAddingFriends-swift.property)

A Boolean value that indicates whether to prevent the user from adding Game Center friends.

[`denyAddingFriends`](/documentation/ManagedSettings/GameCenterSettings/denyAddingFriends-swift.type.property)

The metadata for the setting that prevents the user from adding friends in Game Center.



---

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)