title: Ionic 4 Disable iOS Swipe Back in ONE PAGE ONLY
body: <p>I want to disable <code>iOS</code> in one page only and not globally, so let’s say a user checkouts and makes the payment, i don’t want the user to go back to where he was after he gets the receipt. I want the user to stay to that page without the possibility to swipe back, in android i have already disabled the hardware button while in <code>iOS</code> i am struggling a bit.</p>
  
  <p>i have added to <strong>app.module:</strong></p>
  
  <pre><code>IonicModule.forRoot({ swipeBackEnabled: false })
  </code></pre>
  
  <p>which disables the swipe back globally and thats what i don’t want, i also <strong>tried this one:</strong></p>
  
  <p><a href="https://www.damirscorner.com/blog/posts/20190823-SwipebackGestureConfigurationInIonic4.html" rel="nofollow noreferrer">Article about disabling swipe back</a></p>
  
  <p>I followed it and still i could not reach what i want,</p>
  
  <p>I also don’t get what the user says at the end:</p>
  
  <p>The current <strong>implementation</strong> only works with a single <code>IonRouterInstance</code> in the application but it can be enhanced with support for additional instances if you require that in your own application.</p>
  
  <p>What does he mean by <strong>WORKS WITH A SINGLE?</strong></p>
  
  <p>Thank you very much, any help would be appreciated.</p>