iphone - Switch directly to the Game Center app -


i have method checks if player signed in game center or not. if not bring alert view button directly takes them game center app sign in. possible in way?

just open gamecenter url on button tap.

[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"gamecenter:"]]; 

also put handle url in app delegate:

- (bool)application:(uiapplication *)application handleopenurl:(nsurl *)url {     return yes; }  - (bool)application:(uiapplication *)application openurl:(nsurl *)url sourceapplication:(nsstring *)sourceapplication annotation:(id)annotation {     return yes; } 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -