Can-swipe-back="false" doesn't work to prevent iOS swipe back

Following this post:

I added can-swipe-back="false" to my <ion-view> :

<ion-view can-swipe-back="false" style="background-color:#e9eaed;">

But swiping back on this view still fires on iOS devices. I am using Ionic version 1.0.0

1 Like

+1
I have the same issue here

@alyx

Did either of you figure out how to fix this?

Thanks

+1
Not working of me either

In ionic.bundle.js, search for “transition: ‘ios’,” and the line under it should be changed to “swipeBackEnabled: false,”

Note that if you update ionic then this change will be overwritten.