Game Center loadPlayersForIdentifiers deprecated - How to fix?



I’m getting a warning on this method:

[GKPlayer loadPlayersForIdentifiers:theMatch.playerIDs withCompletionHandler:^(NSArray* thePlayerArray,NSError* theErrorInfo)

It says to replace it with “players”, however this won’t fix it, it will break it, since the above is working with PlayerIDs not Player Objects. So, should write a method that gets the Array of Player Objects, then creates a new array of PlayerIDs by iterating over the Player Objects? This seems like a giant waste of time, since it just means I’m doing the work instead of GKPlayer, not sure why is was deprecated?

All the Best