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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -