iPhone 中的多用户实时绘图
我将为 iPhone 创建一个应用程序作为多用户非交互式绘图。我的意思是像 YM 功能这样的东西,2 个或多个用户可以同时一起绘制。您对我如何开始有任何想法或线索吗? 我脑子里有一些方法,比如制作一个 webview 并使用 javascript 库对我的绘图板进行编码。或者我在iPhone中使用绘图方法,然后每秒例如我将屏幕的状态保存在数据库中,同时我反复从数据库中提取数据,,,这些方法看起来多么合乎逻辑..
我真的很感激如果你能帮助我..谢谢
Im going to create an applicaition for i-phone as a multi-user ineractive drawing. what i mean is some thing like YM functionality that 2 or mutiple user can draw at the same time together and. do you have any idea or clue for me to how to start?
I have some methods in my mind , like making an webview and my drawing pad be coded using javascript libraies. or i use drawing methods in iphone then every second for example i save the state of the screen in a database and meanwhile i pull the data from data base again repeatedly,,, how ever these methods dosen look logical..
I would really appreciate it if you can help me .. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我肯定会避免使用 webview 并编写一个原生 iPhone 应用程序。首先,我会寻找 GameKit 示例 - 它具有查找内置其他玩家的概念,并且您的应用程序在功能上相当于游戏(收集触摸、更改共享状态、将其提供给所有参与者)。
如果你想走WebView方式,只需将其制作为与Safari Mobile兼容的网站并完全绕过iPhone编程即可。
I would definitely avoid webviews and write a native iPhone app. To start I would look for GameKit examples -- it has the concept of finding other players built in and your app is functionally equivalent to a game (collect touches, change a shared state, get it to all participants).
If you want to go the WebView way, just make it a website that is Safari Mobile compatible and bypass the iPhone programming completely.