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

  • SEARCH
  • Home
  • 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 8030339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:44:04+00:00 2026-06-05T00:44:04+00:00

Is it possible to take data we get from GameCenter and create our own

  • 0

Is it possible to take data we get from GameCenter and create our own skin for it?

If so where can I access all the data we receive? The important data I want is current matches, everything else is not a big deal to me. Can anyone help?!

  • 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-05T00:44:07+00:00Added an answer on June 5, 2026 at 12:44 am

    These should get you going:

    [GKTurnBasedMatch loadMatchesWithCompletionHandler:(void (^)(NSArray *matches, NSError *error))completionHandler];
    
    [GKTurnBasedMatch loadMatchDataWithCompletionHandler:(void (^)(NSData *matchData, NSError *error))completionHandler];
    

    Edit:

    It would take a very long post to explain the whole process step by step, but here is the main idea:

    [GKTurnBasedMatch loadMatchesWithCompletionHandler:(void (^)(NSArray *matches, NSError *error)){ 
    
    for (GKTurnBasedMatch *myMatch in matches) {
    
    // update your UI depending on the games. Below is just an example.. This part is up to you - update a tableView, manage a view etc..
    
    int k = 0; // will hold the number of active players still in the game
    for (GKTurnBasedParticipant *part in myMatch.participants) {
    
    if(participant.matchOutcome != GKTurnBasedMatchOutcomeQuit){
    k++;
    }
    
    }
    
    if ([myMatch.currentParticipant.playerID isEqualToString [GKPlayer localPlayer].playerID]) {
    //our turn
    
    if (k<2) { //there are less than 2 active players - end game if it's your turn etc...
    
    //end turn depending on your turn.
    return;
    }
    
    //update your UI for that match..
    
    
    } else { //not your turn
    
    //update your UI - goes to their turn section for example
    
    }
    
    }
    
    
    }];
    

    Again I just wrote all of this from the top of my head so I’m sure there are mistakes but thats the main route you want to take. You want to get a list of your current matches – and list them according to whose turn it is or if the game is ended and other things.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to read the company table and take out all possible suffixes from
Is it possible to take only the first two lines from a wrapped text
Possible Duplicate: PHP take all combinations I'm thinking of making something in PHP that
I saw this algorithm that will take numbers or words and find all possible
Hello Im trying to get all possible combinations with repetitions of given char array.
I am developing an application where it should get data from my server with
I'm trying to take data from three different tables and output it using as
I can't seem to get acceptable performance from FullText Catalogs. We have situations where
Is it possible to take a screen capture of a particular area of a
This is a two part question. Is it possible to take advantage of xVal

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.