简体   繁体   English

如何编写自己的自定义GKMatchMakerViewController?

[英]How to write your own custom GKMatchMakerViewController?

I'm having trouble starting to implement my own matchmaking UI (replacing GKMatchMakerViewController I think). 我在开始实现自己的配对UI时遇到了麻烦(我认为替换GKMatchMakerViewController)。 The UI would be simple blank screen that would say "finding match". 用户界面将是简单的空白屏幕,显示“查找匹配项”。

My problem is, I'm not sure how to start. 我的问题是,我不确定如何开始。 So I was wondering if anyone have any known tutorials that would cover the basics? 因此,我想知道是否有人可以涵盖基础知识?

I did a google search and I just can't find any source code or documentation on how to do this, only the class reference :( 我做了一个谷歌搜索,我只是找不到任何源代码或如何做到这一点的文档,只有类参考:(

Thank you! 谢谢!

PS also if you could point me in a direction into implementing a ranked match making system implementation that would be great :) 另外,如果您能为我指出实施排名匹配系统的方向,那就太好了:)

Send a match request with GKMatchMaker. 使用GKMatchMaker发送匹配请求。 Wait for the response. 等待响应。

In the meantime show a blank scene with a "finding match" label. 同时,显示带有“查找匹配”标签的空白场景。

I believe there's no tutorial because it's that simple. 我相信这里没有教程,因为它就这么简单。 :) :)

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

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