A Boolean value that indicates whether this player is a friend of the local player.
SDKs
- iOS 4.1–8.0Deprecated
- macOS 10.8–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–2.0Deprecated
Framework
- Game
Kit
Declaration
@property(readonly, nonatomic) BOOL isFriend;
@property(readonly, atomic) BOOL isFriend;
Discussion
Players use the Game Center app to declare other players as friends.