是否可以直接从自定义键盘扩展访问 Game Center?

Is possible to access Game Center, directly from a custom keyboard extension?

我需要通过自定义键盘在 Game Center 中对用户进行身份验证,according to apple docs it should be done: "Via containing app, keyboard can participate in Game Center and In-App Purchase"

我可以从我的键盘扩展程序访问游戏中心,但它抱怨包不正确,因为它添加了 d com.xxx.yyy.keyboard 而不是 com.xxx.yyy。

进行身份验证的唯一方法是在包含的应用程序中?

由于键盘扩展的限制,我认为您无法显示 Game Center Controller

此外,您必须意识到 Game Center 不会成为 iOS 10 的一部分,并且可能很快就会消失。您必须使用 GameKit 数据设计自己的界面。