ios: programmatically ask for Game Center sign-in?
问题 I have a simple question, but I’ve looked through Apple’s documentation and done some searching and I can’t find the answer to it. Is it possible to programmatically pull up Game Center’s sign-in view? I have a UIButton that requires Game Center, and if the client does not sign in when the app is opened (iOS pulls up the sign-in view at launch), I want to provide a second chance for the user to sign in. 回答1: I'm assuming you're calling this GKLocalPlayer method on launch: