Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9004549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:55:17+00:00 2026-06-16T00:55:17+00:00

I am working with Game Center, and I know it’s easy enough to present

  • 0

I am working with Game Center, and I know it’s easy enough to present the Game Center view controller to show all of a player’s open (turn-based) matches. But I would like to also show the number of matches the user is currently involved in, and give quick links to open those matches without using the Game Center view controller. Is there a way to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:55:18+00:00Added an answer on June 16, 2026 at 12:55 am

    You can use the following method to retrieve the list of matches from the Game Center:

    GKTurnBasedMatch loadMatchesWithCompletionHandler
    

    I have attached a code snippet to show how I am loading them. GameKitHelper is a singleton I use to perform some common Game Kit actions. I also request the player aliases to display them with the match info.

    [GKTurnBasedMatch loadMatchesWithCompletionHandler:^(NSArray *matches, NSError *error)
     {
         if (error)
         {
             NSLog(@"Load matches error: %@", error.description);
             // more error processing here
             return;
         }
    
         self.currentMatches = matches;
    
         // upate all the matches match data, then end any orphan matches, then get player aliases
         // it is very important to update all the match data, because the loadMatchesWithCompletionHandler
         // will have no match data, or old match data.
         [GameKitHelper updateMatchesMatchData:self.currentMatches completionHandler:^(NSError *error) {
             [GameKitHelper endOrphanedMatches:matches completionHandler:^(NSError *error) {
                 [self requestPlayerAliasesFromGameCenterForMatches:self.currentMatches];
             }];
         }];
     }];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a Game Center based board game. All seems to be
I'm working on an iPhone game. In iTunesConnect I created Game Center leaderboards for
I'm working with Game Center now. I've created achivements on ITC and i'm logged
Possible Duplicate: Send NSString via Game Center i have been working on this for
I'm working on a game where the player controls a space ship that circles
Okay, so I have this partially working game, I know the solutions should be
I'm working with Game Center Kit, how can I get the image of game
I'm working on a game which uses Game Center for multiplayer gaming. Now the
I have a Game Center matchmaker working and implemented, and by using Game Kit's
I am working on an application that uses the Game Center feature from iOS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.