uipageviewcontroller stop scrolling code example
Example: uipageviewcontroller stop scrolling
The documented way to prevent the UIPageViewController from scrolling is
to not assign the dataSource property. If you assign the data source
it will move into 'gesture-based' navigation mode which is what
you're trying to prevent.