使用XMPP在ios中构建聊天应用程序 [英] Build a chat application in ios using XMPP
本文介绍了使用XMPP在ios中构建聊天应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在ios中构建聊天应用程序。我遇到了适用于ios的 XMPP 。我对如何前进感到有点困惑。以下是我的疑问:
I am trying to build a chat application in ios. I came across XMPP for ios. I am bit confused on how to move forward. Here are my doubts:
- 我是否需要创建一个XMPP服务器来实现此应用程序?
- 或者是否存在可用于同一目的的现有服务器/服务?
推荐答案
是的,您在上面找到的XMPP库非常适合在任何iOS设备中集成聊天功能。回答你的问题。
Yes, XMPP library you found above is perfect to integrate chat in any iOS devices. Coming to your questions .
- 理想情况下,你应该创建自己的XMPP服务器,这样你就可以控制它,还有安全问题。一个非常流行的XMPP服务器是 ejabberd 。 ejabber非常棒:)
- 您无需设置自己的XMPP服务器。您可以使用一些开源的 XMPP服务器。根据您的使用情况,您可以自行决定。
- Ideally yes, you should create your own XMPP server so that you have control over it plus there is security issue. A very popular XMPP server is ejabberd. ejabber is awesome :)
- Its not must that you need to setup your own XMPP server. You can use some open-source XMPP servers. Depending on your use-case you can decide.
希望这会有所帮助......
hope this helps...
这篇关于使用XMPP在ios中构建聊天应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文