what im doign is in the first scene of my game have a timer after .1 seconds, then a log into gamecenter behavior.
That will ask you to log in if your not everytime you start the app. You need that .1 timer though or else it wont always work. That timer ensurse the behavior always works
And also you can put a button on your menu with attribute to turn gamecenter on and off, and save and load that attribute, so that if the users device isnt supported by gamecenter or they just dont want it, it wont ask them to log in everytime you start the app if they turn gamecenter off
Comments
That will ask you to log in if your not everytime you start the app. You need that .1 timer though or else it wont always work. That timer ensurse the behavior always works
And also you can put a button on your menu with attribute to turn gamecenter on and off, and save and load that attribute, so that if the users device isnt supported by gamecenter or they just dont want it, it wont ask them to log in everytime you start the app if they turn gamecenter off
when you hit enable, you will log in
it will save if it is enabled and log you in automatically next time you start the game if that attribute is true
Also, it won't post scores, or allow you to access the leaderboard unless gamecenter is enabled on my button via the attribute.
I made it like this so I wouldn't get a lot of people complaining about scores not reporting if they were having connection issues.