How to put GameCenter on application with swift?
问题 I made a game using SpriteKit and Xcode 7 beta. I tried to add GameCenter and Leaderboard but the problem is that the score in the leaderboard won't change (HighScore doesn't upload to GameCenter), It stay 0 all the time and I don't know how to fix it. I'm using 2 different files: GameViewController.swift, and PointsLabel.swift GameViewController.swift: import GameKit class GameViewController: UIViewController,UIGestureRecognizerDelegate, GKGameCenterControllerDelegate { var score: