问题描述
我发现的最近的事情是,但答案只指向过时的库。
Closest thing I've found is How to incorporate WebSockets into a Cocoa application, but the answers only pointed to an outdated library.
有没有人知道与iOS 4.x兼容的WebSockets库?
Does anyone know about a WebSockets library compatible with iOS 4.x?
我也读过关于,和服务一样好,我更喜欢使用自己的WebSockets服务器。
I've also read about Pusherapp, and, as good as the service could be, I would prefer to use my own WebSockets server.
推荐答案
您可以查看。它适用于使用Objective-C的iOS应用程序。它适用于ws& WSS。
You can check out the UnitT Web Socket Client. It is intended for use in iOS apps using Objective-C. It works with both ws & wss.
我是作者,并且已成功地在我的一些项目中使用它。如果您遇到任何麻烦,请告诉我,我会尽力帮助您。
I am the author and have been using it in some of my projects with success. Let me know if you run into any trouble and I will do what I can to help.
这篇关于Objective-C的WebSockets客户端(最好是iOS兼容的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!