I've discovered an interesting bug that I have verified between my iPod Touch (iOS 6.0) and my Mac MBP OS Mountain Lion (I have registered versions for both).
When I task out of the iPod (perhaps to take a FaceTime call) my MBP Cribbage tells me the connection has dropped. When I come back into Cribbage on my iPod, the game is totally jammed up....many buttons are disabled/won't function.
Perhaps Apple has changed the way the event works. A good discussion is on Stack Overflow. Since Posting a link is rude, allow me to paraphrase:
-When the user presses the home button, your application delegate's applicationWillResignActive is called which disables touch
-events to the application. Then applicationDidEnterBackground is called, which, per the Apple docs:
-Your delegate’s applicationDidEnterBackground: method has approximately 5 seconds to finish any tasks and return. In practice,
-this method should return as quickly as possible. If the method does not return before time runs out,
-your application is killed and purged from memory
Seems like the "applicationDidEnterBackground: method" should signal the server/players that the iOS is exiting and save the game out, with a similar exit message locally. I am presuming this worked under iOS 5, because this is the first time I have run into this. My dad and I have been playing via network with his iPad for months, so when he had this problem I was a bit stumped, but was easily able to verify it locally. Viva la difference, a recent upgrade from 5.1.1 to 6.0.
Good luck with the network re-work, I understand that is a priority. For now my advise to everyone is "Don't use the Home Button while playing a network game."
For all support and comments on the game "GrassGames' Cribbage".
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests