Instance Property

dataSource

The object that provides view controllers.

Declaration

@property(nonatomic, weak) id<UIPageViewControllerDataSource> dataSource;

Discussion

Methods of the data source are called in response to gesture-based navigation. If the value of this property is nil, then gesture-based navigation is disabled.

See Also

Providing the Page Content

UIPageViewControllerDataSource

The UIPageViewControllerDataSource protocol is adopted by an object that provides view controllers to the page view controller on an as-needed basis, in response to navigation gestures.