PhoneGap——还是其他什么?对于使用滑动和捏合的 iOS 应用程序
我的 iOS 应用程序需要利用“滑动”手势和“捏合”。我不想自己开发原生 iOS 应用程序,而是使用 PhoneGap 等工具或类似的工具。我希望它尽可能成为一个 Web 应用程序,所以我不会通过 App Store 处理不断的、永远的更新。
有什么建议吗?谢谢!
My iOS app needs to utilize "swipes" gestures and "pinches". I'd rather not develop native iOS app myself, but use some tool like PhoneGap or anything like that. I want this to be pretty much a Web app, as much as possible, so I don'd deal with constant forever-taking updates thru App Store.
Any suggestions? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
回答你的问题,是的,PhoneGap 可以与滑动一起使用。我刚刚尝试使用 jQuery Mobile 来回答这个问题:如何在多个jquery移动页面之间滑动?
至于Pinch。 PhoneGap 内部工作的 Mobile Safari 浏览器支持它,因此我怀疑您可以在与普通移动 Web 应用程序相同的上下文中使用它。捏合进行缩放,双击进行缩放并将块元素居中。我不相信 PhoneGap 或 JQuery Mobile 可以让您访问任何捏事件来拦截并执行您自己的操作,例如“捏以发出声音”或其他内容。
To answer your question, yes PhoneGap can work with swipe. I just got done trying it with jQuery Mobile to answer this questions here: How to swipe between several jquery mobile pages?
As for Pinch. The Mobile Safari browser that works inside of PhoneGap supports it, so I suspect that you would be able to use it in the same context as you would in a normal mobile web application. Pinch to zoom, double tap to Zoom and center to a block element. I do not believe that PhoneGap or JQuery Mobile give you access to any pinch events to intercept and do your own thing with, like "pinch to make a noise" or something.