Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run iphone GameCenter app from my app?

I think the best way and may be only way is using the URL schemes with [[UIApplication sharedApplication] openURL:...]. But I can't find URL scheme for game center..

like image 239
Ruslan Konyshev Avatar asked Apr 18 '11 11:04

Ruslan Konyshev


1 Answers

You can launch the Game Center app by using the gamecenter: URL scheme:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"gamecenter:"]];
like image 118
Nick Forge Avatar answered Sep 23 '22 02:09

Nick Forge