Contents

isUnderage

A Boolean value that indicates whether the local player is underage.

Declaration

var isUnderage: Bool { get }

Mentioned in

Discussion

If this property is true, Game Center disables some features for the local player. On all platforms, Game Center provides the value for the underage property for the Game Center account that the player signs into on the device. Note that the Game Center account defaults to the iCloud account that the player signs into on the device, but the player can sign into a different Game Center account.

See Also

Determining Whether the Player Is Underage or Restricted