A Boolean value that states whether the game is hosted on your servers.
SDKs
- iOS 4.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Game
Kit
Declaration
@property(readonly, getter=isHosted, nonatomic) BOOL hosted;
@property(readonly, getter=isHosted, atomic) BOOL hosted;
Discussion
If the value of the hosted
property is YES
, this is a match hosted on your own server. If the value is NO
, this is a peer-to-peer match using Game Center. The default is NO
.