Questions tagged [game-center]

The inner workings and use of Apple's GameCenter API in your apps.

1852 questions
36
votes
2 answers

Reenabling GameCenter after user-cancelled 3 times (iOS7 only)

If the user dismisses the GameCenter login from your app 3 times, they're never prompted again. The authentication handler returns this: The requested operation has been cancelled or disabled by the user. In previous versions of iOS (6 and below),…
Shaun Budhram
  • 3,690
  • 4
  • 30
  • 41
34
votes
5 answers

"The App Name you entered has already been used" even though I just created the app

I am trying to create my app on iTunes Connect, so I can add my game center features. When I reach the screen where I fill in the default language, app name, sku number, and bundle id, I receive an error message: The App Name you entered has already…
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
34
votes
4 answers

Unable to sign in Sandbox gamecenter on iOS 7

Since iOS 7 I no longer get the prompt from game center to ask me to log in sandbox mode when I open my application. I searched for a while and never saw any known issues about this and there are no patch notes that says anything about sandbox mode…
DogDog
  • 4,820
  • 12
  • 44
  • 66
32
votes
3 answers

Game Center authentication doesn't work in iOS 8

I am trying to implement Game Center in my game. I've tried it on the iOS 8 GM. I'm not able to get the authentication to work on device, but it works fine in the simulator. I'm using the code provided in Apple's documentation. Do other people have…
user2724028
  • 594
  • 2
  • 8
  • 19
30
votes
0 answers

Always having to sign into Apple Game Center in simulator in iOS7?

I'm working on a game which requires the user to have an Apple Game Center account. Prior to XCode 5/iOS7 I would run the game in the simulator, if the player wasn't signed into GC it would show the dialogue, if they were they got a game center…
Phil
  • 2,995
  • 6
  • 40
  • 67
28
votes
7 answers

Locking a UISearchBar to the top of a UITableView like Game Center

There's this cool feature in the UITableViews in Game Center and the search bars they have at their tops. Unlike apps where the search bar is placed in the table header view (so it counts as a standard table cell), instead, it seems to be bolted to…
TiM
  • 15,812
  • 4
  • 51
  • 79
26
votes
2 answers

iOS Game Center: Scores not showing on leaderboard in sandbox

I'm developing a Game Center enabled game and I'm running into an issue in the sandbox environment. I can successfully report the score without error. However, when I show the leaderboard, there are no scores visible. To verify that the score…
Justin Kredible
  • 8,354
  • 15
  • 65
  • 91
26
votes
2 answers

iOS 6 Game Center authenticateHandler can't login after a cancel

When using the authenticateHandler in iOS 6, game center won't present the login view if the user cancels it. I realize game center will auto lockout an app after 3 cancel attempts, but I'm talking about just 2 attempts. If they cancel the login,…
Tod Cunningham
  • 3,691
  • 4
  • 30
  • 32
24
votes
3 answers

Using Game Center login to bootstrap login on remote server

I'm wanting to allow users to create an account on my server automatically using their Game Center account. When my iOS app opens up it requires a connection and authentication with an XMPP server in order to communicate with the game server. I'm…
Kendall Hopkins
  • 43,213
  • 17
  • 66
  • 89
23
votes
5 answers

GameCenter authentication in landscape-only app throws UIApplicationInvalidInterfaceOrientation

Problem: If user is not logged into GameCenter account - GameCenter authentication view is launched in portrait mode (in ios 5 there were a modal dialog) asking to log in. But if I disable Portrait mode in xcode (Project Summary) or in…
Tertium
  • 6,049
  • 3
  • 30
  • 51
22
votes
6 answers

iOS9 “This game is not recognized by game center.”

I am having trouble getting game center to work with my app. Whenever I try to authenticate the user it comes back with the following error: "The requested operation could not be completed because this application is not recognized by Game Center."…
user3179636
  • 549
  • 3
  • 14
21
votes
3 answers

Game Center URL scheme

It's possible to open the Game Center app from your own app using: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:"]]; Is there a way to open it on the page for a specific game?
pyrosphere
  • 418
  • 3
  • 9
21
votes
10 answers

How to authenticate the GKLocalPlayer on my 'third party server'?

iOS7 introduced new GKLocalPlayer method generateIdentityVerificationSignatureWithCompletionHandler(). Does anyone know how to use it for good? I assume there will be some public API at Apple server-side..
KirylP
  • 422
  • 1
  • 4
  • 11
20
votes
2 answers

Game center login lock in landscape only in i OS 6

When Game center is loaded its default orientation is portrait. In order to lock it in landscape mode, added a category. @implementation GKMatchmakerViewController (LandscapeOnly) -…
QCG
  • 2,569
  • 3
  • 20
  • 25
19
votes
2 answers

Reconnect player in Game Center

I'm having trouble figuring out how to reinvite a disconnected player in a good way, using the GKMatch class for the Game Center. The game is a 1 vs. 1 game. When I detect a disconnected player, I try to reinvite that specific player to the match…
ThomasCle
  • 6,792
  • 7
  • 41
  • 81
1
2 3
99 100