GKGameCenterViewController error in IOS8

Anyone Else Injured - Loading GKGameCenterViewController on IOS8 devices does not allow Game Center data or navigation buttons to reject the view to be returned. The code is standard from the Game Center Programming Guide and has worked for months on devices running IOS7. IOS update 7 to 8 and BOOM !, GKGameCenterViewController only downloads white transparent background and other content. The user came into view with no Game Center data and did not click the "Finish" button to reject the submission. My app was released on 5/14 and it happened when I updated my iPad to IOS8 on September 19, 2014.


source to share

2 answers

It looks like it GKGameCenterViewControllerStateDefault

is the culprit (error). Add this before the view submission:

gc.viewState = GKGameCenterViewControllerStateLeaderboards;




I am also experiencing this issue since upgrading to iOS8. The workaround posted by dugbug seems to be incomplete - although the information is displayed in the main tab using this workaround, the user still cannot dismiss the play center view as the top bar navigation button is replaced with a white area for this.



All Articles