简体   繁体   English

使用Mac OS X的GKSession

[英]GKSession with Mac OS X

I'm using GKSession (part of Game Kit) to connect multiple iOS devices together (over bluetooth and/or wifi), send data, etc which all works fine and I'm happy with it. 我正在使用GKSession(Game Kit的一部分)将多个iOS设备连接在一起(通过蓝牙和/或wifi),发送数据等等都运行正常,我很满意。

I was thinking though, it would be cool to have a Mac OS X app that could connect to the iOS devices as well, share data and so on. 我在想,拥有可以连接到iOS设备的Mac OS X应用程序,共享数据等等也会很酷。

GKSession sadly doesn't seem to be part of Game Kit for Mac OS X (10.8+ obviously). 遗憾的是,GKSession似乎不是Mac OS X Game Kit的一部分(显然是10.8+)。 I was wondering is anybody knows of a way to do this or has any ideas. 我想知道是否有人知道如何做到这一点或有任何想法。

Thanks again. 再次感谢。

GameKit for Mac OSX uses game center over wifi to connect Macs, iPod Touches, iPads, and iPhones to each other through apple's game center servers. GameKit for Mac OSX使用wifi上的游戏中心通过苹果的游戏中心服务器将Mac,iPod Touch,iPad和iPhone相互连接。

Consult the GameKit Framework reference for Mac OSX for more on how to implement the classes 有关如何实现类的更多信息,请参阅适用于Mac OSX的GameKit Framework参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM