I am currently building an iOS app which utilises GameKit's turn based gaming api's. The game works great and everything communicates correctly however, I don't know how to handle the Game Center notifications which are presented to the user.
For example, if the app is not currently in the foreground and it just became the player's turn, Game Center sends a notification which says "Your Turn" and the name of the app. If the user clicks the notification they are delivered to the app, however the app just resumes to it's previous state. My question is how can I handle these notifications, and is their any way to get the match ID from the notification so i can then load that match respectively?
Thanks of your assistance