简体   繁体   English

如何在iOS应用程序中实现Bayeux协议

[英]How to implement Bayeux Protocol in iOS Application

I am doing a interactive iPad app where there will be a scenario when my app will be opening in multiple iPad devices at the same time,and they can join a group photo share, where one user selects a photo of his choice and that selection will be seen live by other users in their devices too who are joined to same group. 我正在做一个交互式iPad应用程序,当我的应用程序将同时在多个iPad设备上打开时,他们可以加入群组照片共享,其中一个用户选择他选择的照片,选择将被他们的设备中的其他用户看到也加入同一组。

I have just got to know that this kind of behaviour can be achived through Bayeux Protocol using Javascript,Dojo for Web application. 我只知道这种行为可以通过使用Javascript,Dojo for Web应用程序的Bayeux协议来实现。 So, is there any framework that can achieve this feature in iOS platforms or is anyone know how to integrate Bayeux Protocol in xcode. 那么,是否有任何框架可以在iOS平台上实现此功能,或者是否有人知道如何在xcode中集成Bayeux协议。 I have no idea about it, so any help and suggestions will be appreciated so that i can atleast get started with this feature. 我不知道它,所以任何帮助和建议将不胜感激,以便我至少可以开始使用此功能。

Forget about Bayeux Protocol and implementation details. 忘掉Bayeux协议和实现细节。

For stuff like that, such as connecting people that use the same app on similar device, and share their actions and so on, I think that considering GameKit (even if you application is not a game, as you still connect people that will use the application on different devices at the same time, and actions of one user will be refered on other user's devices) might be a good option. 对于像这样的东西,比如连接在类似设备上使用相同应用程序的人,并分享他们的动作等等,我认为考虑到GameKit (即使你的应用程序不是游戏,因为你仍然连接将使用同时在不同设备上应用,并且一个用户的操作将被引用到其他用户的设备上)可能是一个不错的选择。

See for example the GKPeerPickerViewController to connect users to each others, the GKTank example and so on. 例如,参见GKPeerPickerViewController以将用户连接到彼此, GKTank示例等等。

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

相关问题 是否有任何Bayeux协议的iOS实现(COMET,服务器推送到客户端)? - Is there any iOS implementation of the Bayeux protocol (COMET, server push to client)? 我们如何在iPhone / Android中实现CAN应用层(CAL)协议 - how can we implement CAN Application Layer(CAL) protocol in iphone/android 如何在我的iOS应用程序中正确实现Services类? - How to properly implement a Services class into my iOS application? 如何在iOS绘画应用程序中实现撤消功能? - How can I implement undo functionality in my painting application for iOS? 如何通过iOS应用程序使用实时流协议(RTSP)连接到媒体服务器? - How to connect to a media server using Real Time Streaming Protocol (RTSP) from an iOS application? 如何在ios 5中实现RETWEET? - How to implement RETWEET in ios 5? 如何在iOS 6中实现旋转? - How to implement rotation in ios 6? iOS中的权限如何实现 - Permissions in iOS how to implement 如何在iOS中实现此动画? - how to implement this animation in iOS? 如何使用php在Ios中实现动态聊天应用程序,与Skype相关的应用程序 - How to implement dynamic chat application in Ios using php, Something related to Skype like application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM