Build a chat application in ios using XMPP [closed

2020-02-08 16:28发布

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:

  1. Do I need to create an XMPP server to implement this application?
  2. Or are there any existing servers/services which can be used for the same purpose?

2条回答
▲ chillily
2楼-- · 2020-02-08 17:02

Yes, XMPP library you found above is perfect to integrate chat in any iOS devices. Coming to your questions .

  1. 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 :)
  2. 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...

查看更多
Bombasti
3楼-- · 2020-02-08 17:03

Your question is confusing because you say "create" when you probably mean "host."

You certainly do not need to develop your own. You can set up one of many available XMPP servers, a fairly extensive list is here. There are both commercial products and open source ones.

There are also many publicly available ones that you can use. Two of the more popular today would be Google's gtalk and Facebook chat.

Your own use case is what really determines which path you should take. For publicly available servers all the users would have to be registered with those domains to use them.

查看更多
登录 后发表回答