iphone - GameKit Device Identification -


in ios gamekit framework, code identify names of devices connected together?

with gksession can peers specified state name.

//get connected peers nsarray *peerids = [gksession peerswithconnectionstate: gkpeerstateconnected]; for(nsstring *peerid in peerids) {     //log peer name     nslog(@"%@", [gksession displaynameforpeer:peerid]); } 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -