In iOS 6.0, the new way is pretty cool to show Game Center using the GKGameCenterViewController .
To use it, your view controller must act as a delegate to the GKGameCenterViewController:
@interface ViewController : UIViewController <GKGameCenterControllerDelegate>
And then to display the Game Center view:
- (void)showGameCenter { GKGameCenterViewController *gameCenterController = [[GKGameCenterViewController alloc] init]; if (gameCenterController != nil) { gameCenterController.gameCenterDelegate = self; [self presentViewController: gameCenterController animated: YES completion:nil]; } }
If the user is under iOS 5.0, you can only use URL schemes, as you said earlier.
source share