# Gestures

**URL:** <https://forum.juce.com/t/gestures/53268>\
**Category:** MacOSX and iOS\
**Created:** [October 5, 2022, 4:13pm UTC](https://forum.juce.com/t/gestures/53268 "2022-10-05T16:13:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [October 5, 2022, 4:13pm UTC](https://forum.juce.com/t/gestures/53268/1 "2022-10-05T16:13:56Z")

</div>

Hi, do we have any support for gestures in iOS?

I can’t see anything obvious, but just wanted to check before I started writing my own…

Thx

---

<div class="post-metadata">

**Author:** ![aamf](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/aamf/32/19941_2.png) [@aamf](https://forum.juce.com/u/aamf)\
**Post date:** [October 6, 2022, 2:36pm UTC](https://forum.juce.com/t/gestures/53268/2 "2022-10-06T14:36:34Z")

</div>

Hi, I’m interested in this too. Which gestures are you after? I see pinch-to-zoom and drag-to-scroll. Is that all?

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [October 6, 2022, 2:39pm UTC](https://forum.juce.com/t/gestures/53268/3 "2022-10-06T14:39:56Z")

</div>

Hi - swipe is the main one I’m after currently.

---

<div class="post-metadata">

**Author:** ![aamf](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/aamf/32/19941_2.png) [@aamf](https://forum.juce.com/u/aamf)\
**Post date:** [October 7, 2022, 11:39am UTC](https://forum.juce.com/t/gestures/53268/4 "2022-10-07T11:39:16Z")

</div>

What do you want to swipe? Do you want to move some components around directly, swipe a page containing text, or swipe pages containing GUI elements?

For the first I guess you must roll your own and the second is already supported (viewports can be swiped and dragged). It’s the last case which is quite tricky.

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [October 7, 2022, 11:51am UTC](https://forum.juce.com/t/gestures/53268/5 "2022-10-07T11:51:26Z")

</div>

Hi - just component swiping at the moment, left/right - so yeah, not dragging a viewport around.

Guess not that hard to implement, but just don’t want to re-invent the wheel. Would expect this kind of “low-level” functionality to be provided for phones/tablets really.

Cheers
