2

I want to disable users being able to swipe through page view controllers in swift but every method I try it also disable's any interaction with the subviews in the page view controller such as a button and being able to interact with a table view controller.

How would I approach this project.

1 Answers1

0

try this:

self.navigationController!.interactivePopGestureRecognizer!.enabled = false
Igor
  • 12,165
  • 4
  • 57
  • 73