# Gestures on ios

**URL:** <https://forum.juce.com/t/gestures-on-ios/6651>\
**Category:** MacOSX and iOS\
**Created:** [March 30, 2011, 4:47pm UTC](https://forum.juce.com/t/gestures-on-ios/6651 "2011-03-30T16:47:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![symfonysid](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@symfonysid](https://forum.juce.com/u/symfonysid)\
**Post date:** [March 30, 2011, 4:47pm UTC](https://forum.juce.com/t/gestures-on-ios/6651/1 "2011-03-30T16:47:10Z")

</div>

I was wondering whether there is any way to get gesture events on iOS. For example when the user does a pinch gesture to zoom in or zoom out on a component. I thought I saw something about gesture recognition somewhere in the code, but maybe, I saw that on apple’s developer site…

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [March 30, 2011, 4:51pm UTC](https://forum.juce.com/t/gestures-on-ios/6651/2 "2011-03-30T16:51:28Z")

</div>

Juce will let you get multiple mouse-clicks at once, so you can recognise the gesture manually, but I’ve not added anything yet to do it automatically.

---

<div class="post-metadata">

**Author:** ![symfonysid](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@symfonysid](https://forum.juce.com/u/symfonysid)\
**Post date:** [March 30, 2011, 5:38pm UTC](https://forum.juce.com/t/gestures-on-ios/6651/3 "2011-03-30T17:38:43Z")

</div>

Well, there are already gesture recognizers as part of iOS, and there is already a mouseWheel method in the Component class. What do you think about propagating the data from that one particular gesture – pinch – through the existing mouseWheel method? I would think this would be pretty useful on both iOS and android…

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [March 30, 2011, 5:43pm UTC](https://forum.juce.com/t/gestures-on-ios/6651/4 "2011-03-30T17:43:54Z")

</div>

It’s one of those things that I’ll do at some point, but will need to do some research to figure out the best way to implement it…

---

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://forum.juce.com/u/igor)\
**Post date:** [May 10, 2011, 4:39am UTC](https://forum.juce.com/t/gestures-on-ios/6651/5 "2011-05-10T04:39:54Z")

</div>

I’d second that notion. Adding gestures to an iPad or iPhone app would seem to be sine quo non!

I wonder how hard it would be to abstract gestures so they could be more general, and run on other touch devices, like Android.
