# Is there a regression with iOS swipe not working in appium \>= 1.5

**URL:** <https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893>\
**Category:** Issues/Bugs\
**Created:** [April 27, 2016, 5:12pm UTC](https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893 "2016-04-27T17:12:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danqa](https://discuss.appium.io/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@danqa](https://discuss.appium.io/u/danqa)\
**Post date:** [April 27, 2016, 5:12pm UTC](https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893/1 "2016-04-27T17:12:51Z")

</div>

I have the following code:

action = Appium::TouchAction.new  
action.swipe :start\_x =\> 300, :start\_y =\> 300, :end\_x =\> 1, :end\_y =\> 300, :touchCount =\> 1, :duration =\> 1500  
action.perform

This works in the iOS simulator for the last version of appium 1.4.x. But in 1.5 and above it is no longer working? Is this a known issue.? If not, would anyone have an idea how to work around this to swipe left issue?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Arfan1](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@Arfan1](https://discuss.appium.io/u/Arfan1)\
**Post date:** [April 28, 2016, 4:33pm UTC](https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893/2 "2016-04-28T16:33:20Z")

</div>

Hi Danqa,  
Yes, this issue does occur for Appium 1.5.  
Please see here my reply!

> [@TouchActions doesn't work properly with appium server 1.5.1](https://discuss.appium.io/t/touchactions-doesnt-work-properly-with-appium-server-1-5-1/9757):
>
> Hi, Recently I’ve started to move to new appium server , but I’ve some issues with already implemented TouchActions gestures , in Appium 1.4.16 + java\_client 3.4.1 the code I’ve works , but while I’m running it against Appium 1.5.1 nothing happens , no execption being thrown , just nothing correct happens (the swipe direction is wrong) Has anyone tackled with the issue ? Thanks

---

<div class="post-metadata">

**Author:** ![danqa](https://discuss.appium.io/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@danqa](https://discuss.appium.io/u/danqa)\
**Post date:** [April 28, 2016, 6:21pm UTC](https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893/3 "2016-04-28T18:21:40Z")

</div>

Hi @Arfan1

So I try the work around you showed:

action = Appium::TouchAction.new  
action.press({:x =\> 200, :y =\> 200}).wait(100).move\_to({:x =\> 10, :y =\> 200}).release.perform

but it doesn’t do anything ☹

I am doing this in Ruby. I see no errors in the appium server logs. Any ideas? Does what I have look incorrect?

---

<div class="post-metadata">

**Author:** ![danqa](https://discuss.appium.io/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@danqa](https://discuss.appium.io/u/danqa)\
**Post date:** [April 28, 2016, 8:18pm UTC](https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893/4 "2016-04-28T20:18:17Z")

</div>

Fix it:

Correct code to swipe left:

```
action = Appium::TouchAction.new
action.press({:x => 200, :y => 200}).wait(100).move_to({:x => -200, :y => 0}).release.perform
```

---

<div class="post-metadata">

**Author:** ![Ola\_Akinola](https://discuss.appium.io/letter_avatar_proxy/v4/letter/o/c6cbf5/32.png) [@Ola\_Akinola](https://discuss.appium.io/u/Ola_Akinola)\
**Post date:** [August 7, 2017, 1:50pm UTC](https://discuss.appium.io/t/is-there-a-regression-with-ios-swipe-not-working-in-appium-1-5/9893/5 "2017-08-07T13:50:27Z")

</div>

Worked for me.

Thanks.
