iOS 7 - is there a way to disable the swipe back and forward functionality in Safari?

MeghaK picture MeghaK · Sep 19, 2013 · Viewed 47.7k times · Source

For some web pages we use the swipe left and right functionality of iPhone to pull up the menus. Now with iOS7, they have introduced the ability to go back and forward to previous and next pages of browser history on swipe left and right motions.

But is there a way to disable it for specific pages so as to not have conflicting behavior on the swipe actions?

Answer

Vinzzz picture Vinzzz · Sep 19, 2013

No, this is done at the OS level, and webpage doesn't get any callback

See this summary of safari changes in iOS7 that might cause problems to your website (including this swipe gesture)