FUIPageViewControllerDataSource
@objc
public protocol FUIPageViewControllerDataSource : UIPageViewControllerDataSource
FUIPageViewControllerDataSource is to provide the data information for a FUIPabeViewController.
FUIPageViewControllerDataSource extends the standard iOS UIPageViewControllerDataSource and
adding an optional function to allow developer to specify the presentation title for the page view.
-
The title to be displayed for this
FUIPageViewController.Thie title will be displayed in the
subtitlefield of theTitleViewin the navigation bar of theFUIPageViewController.Declaration
Swift
@objc optional func presentationTitle(for pageViewController: FUIPageViewController) -> String?