这是一个WEB APP而非本地应用程序.请不要使用Objective-CNS命令.
所以我需要在iOS上检测"挤压"事件.问题是,我看到的每一个用于做手势或多点触控事件的插件或方法(通常)都与jQuery一起使用,并且是太阳底下每一个手势的一个额外插件.我的应用程序非常庞大,我对代码中的死木非常敏感.我所需要的只是检测到一个挤压,而使用像JGeture这样的东西正是满足我简单需求的方法.
Additionally, I have a limited understanding of how to detect a pinch manually. I can get the position of both fingers, can't seem to get the mix right to detect this. Does anyone have a simple snippet that JUST detects pinch?