Is there a high-level gestures library for iPhone development?

后端 未结 4 971
温柔的废话
温柔的废话 2021-01-31 23:29

The iPhone platform has a number of common gesture idioms. For example, there are taps, pinches, and swipes, each with varying number of fingers. But when you\'re developing a

相关标签:
4条回答
  • 2021-01-31 23:46

    I forked Kailoa's very nice example and attempted to create a library.

    http://github.com/bentford/GestureDetect

    I intend to add a combination "pinch-zoom and drag" gesture like the one in the maps app. Once I get it working, I'll post on github.

    0 讨论(0)
  • UIGestureRecognizer. Don’t roll your own.

    0 讨论(0)
  • 2021-01-31 23:49

    I've set up just such a project. It's not a library, but it is full of sample code for pinch/stretch, tap and hold, etc.

    Blog:

    http://6tringle.com/blog/2009/TouchSampleCode.html

    Github:

    http://github.com/kailoa/6tringle-touchsamplecode/tree/master

    0 讨论(0)
  • 2021-02-01 00:04

    Here is one for detecting the circle gesture, with the source code provided. Might be useful for adapting it to detect other geatures.

    http://iphonedevelopment.blogspot.com/2009/04/detecting-circle-gesture.html

    0 讨论(0)
提交回复
热议问题