GKGameCenterViewController Is Blank On iOS 18

I'm displaying a GKGameCenterViewController after successfully authenticating and on iOS 18.0 and 18.1, I get a black screen. As a sanity check GKLocalPlayer.local.isAuthenticated is also returning true. The same code works just fine on iOS 17. Is there something that needs to be done on iOS 18 and above?

After digging in a bit more, it appears that the view controller has to be presented via a sheet or full screen modal. Previously I was using a switch statement to show the view and that is no longer working. However, this workaround still has some bugs revolving around the view controller so it still doesn't not work for my needs.

  1. Are you presenting the GKGameCenterViewController by pushing it on the navigation stack? If so what is the behavior if you switch that to presenting it modally?
  2. Do you see the Game Center welcome banner when the game launches and the player is authenticated? If so, what happens when you tap on the banner?
GKGameCenterViewController Is Blank On iOS 18
 
 
Q