如何从我的应用程序中注销游戏中心

发布于 2024-12-27 18:11:12 字数 171 浏览 4 评论 0原文

我想知道一种从我的应用程序中注销游戏中心的方法, 我知道要进行身份验证,是否

[[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:nil];

有类似的注销方法?

谢谢!

i'd like to know a way to logoff from game center from my app,
i know to authenticate is

[[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:nil];

is there a similar way to logout?

thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神魇的王 2025-01-03 18:11:12

我浏览了开发者文档,看起来不是这样的。您可能可以找到一个私有 API 来执行此操作,但随后您的应用程序将被商店拒绝,从而使 Game Center 功能变得毫无意义。

I've looked through the developer documentation, and it doesn't look like it. You could probably find a private API to do it, but then your app would be rejected from the store, rendering Game Center functionality pointless.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文