Instance Property

isUnderage

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

Declaration

var isUnderage: Bool { get }

Discussion

Some Game Center features are disabled if the local player is underage. Your game can also test this property if it wants to disable some of its own features based on the player’s age.