在iOS 10中使用URL方案打开游戏中心不再有效

时间:2022-08-19 22:11:01

Previously it worked for me to open Game Center via the following URL scheme:

之前我通过以下URL方案打开Game Center是有用的:

[[UIApplication sharedApplication] openURL: [NSURL URLWithString:@"gamecenter:"]];

In the latest iOS version this does no longer work and basically nothing happens.

在最新的iOS版本中,这不再起作用,基本上没有任何反应。

How can I switch to the Game Center app in iOS 10?

如何切换到iOS 10中的Game Center应用程序?

EDIT: I just tried opening Game Center in the popular game * Royale by pressing their "Open Game Center" button and also nothing happens there. Is this a current iOS bug maybe?

编辑:我刚刚尝试在热门游戏“冲突皇家”中打开游戏中心,按下他们的“开放游戏中心”按钮,那里也没有任何反应。这可能是当前的iOS错误吗?

1 个解决方案

#1


2  

Game Center has been removed from iOS 10.

游戏中心已从iOS 10中删除。

#1


2  

Game Center has been removed from iOS 10.

游戏中心已从iOS 10中删除。