Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I've tried many different combinations. Judging by iBook's lack of such a feature, the lack of documentation and as I'm sure you've found—the lack of info on the internet—I'm going to say that someone'd probably have to either brute force the URL to figure it out (if it's set up to go to individual apps by URL at all). Here are some I've tried:</p> <pre><code> [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:id350536422"]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:us/app/cheese-moon/id350536422"]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:games/"]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:350536422"]]; </code></pre> <p><strong>UPDATE</strong></p> <p>I combed through the internals of the OS and found out the URL resolution patterns for Game Center:</p> <p><img src="https://i.stack.imgur.com/WFHJL.png" alt="URL resolution patterns for Game Center"></p> <p>You'll need to be savvy with regex to use all of them. Here are some I've typed out for you:</p> <pre><code> [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:/me/account"]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:/me/signout"]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:/friends/recommendations"]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:/games/recommendations"]]; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload