I got a viewController which inherits from UIPageViewController ( @interface PageScrollViewController : UIPageViewController ) Now I\'
viewController
UIPageViewController
@interface PageScrollViewController : UIPageViewController
Setting the UIPageViewController dataSource property to nil prevents scrolling, because the page view controller does not have a way to determine the "next" view controller to transition to.
dataSource
nil
self.dataSource = nil // scrolling disabled self.dataSource = self // scrolling enabled