PhoneGap pinchzoom [英] PhoneGap pinchzoom
问题描述
对于新手问题,我们深表歉意:
I apologize for the newbie question :
如何在phonegap应用程式中实施pinchzoom动作?我刚刚开始与PhoneGap和一点教育不会伤害嘿!
How do you implement the pinchzoom gesture in phonegap apps? I am just starting with PhoneGap and a little education wont hurt hehe !
Thnx!
推荐答案
我的经验是,实现它,因为你使用它。 Phonegap本质上是一个webview(认为移动safari)。所以它允许自动缩放手势,但要实现它,就像你对任何网站(基本上创建需要它的web内容,或利用webkit调用使用它来调整元素),webkit将处理所有的您的详细信息(更好或更差)。
My experience is that you don't implement it so much as you use it. Phonegap is essentially a webview (think mobile safari). So it does allow for automatic zooming gestures, but to implement it, you do so just as you would with any website (basically create web content that requires it, or utilize webkit calls for using it to resize elements), webkit will handle all the details for you (for better or worse).
这篇关于PhoneGap pinchzoom的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!