如何在 iOS 8 中以编程方式邀请玩家加入 GKTurnBasedMatch

How to invite a player to a GKTurnBasedMatch programatically in iOS 8

我看到 GKMatchRequest class 的 playersToInvite 属性 自 iOS 8* 起已被弃用。现在如何以编程方式创建匹配请求以便在游戏中心与朋友对战?

我无法在互联网上找到关于此的任何信息...

我猜你可以使用收件人 属性: https://developer.apple.com/library/ios/documentation/GameKit/Reference/GKMatchRequest_Ref/#//apple_ref/occ/instp/GKMatchRequest/recipients