Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GameKit.GameCenterView.GetViewState
Queries view state.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GameKit | 8.5 | Yes | No | No | No | Yes |
MBS( "GameKit.GameCenterView.GetViewState" ) More
Parameters
none
Result
Returns state or error.
Description
Queries view state.The content displayed by the Game Center controller.
When you first present the Game Center view controller, the content displayed by the view controller is determined by this property. If the player navigates to different content, the view state is automatically updated. For example, to preserve the player’s selections, you can read the viewState property after the screen is dismissed, and set that value the next time you initialize the view controller.
Value can be Default, Leaderboards, Achievements or Challenges.
See also
Created 5th November 2018, last changed 8th November 2018
GameKit.GameCenterView.GetLeaderboardTimeScope - GameKit.GameCenterView.Initialize
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins