Post

Replies

Boosts

Views

Activity

Comment on Game Center authentication workflow
Enabling Game Center in the device settings requires the user to login to Game Center while doing so. Which means that when the game launched, there is already an authenticated user on the device and so the login prompt is not shown. Only the standard "welcome back" banner is displayed. My issue is - how do I prevent the login prompt from being automatically displayed if there is NO authenticated user? Prior to iOS 14.5, the above code worked and the authentication handler was called with the viewController != nil. But from 14.5 onwards, this handler is NOT being called and the login prompt is shown.
Aug ’21