RSDPageViewControllerProtocol
public protocol RSDPageViewControllerProtocol
RSDPageViewControllerProtocol allows replacing the UIPageViewController in the base class with a different
view controller implementation. It is assumed that the implementation is for a view controller appropriate to
the current device.
-
Set the view controllers.
Note
The default implementation of
RSDTaskViewControllerwill use a page view controller and will present one view at a time.Declaration
Swift
func setViewControllers(_ viewControllers: [UIViewController]?, direction: RSDStepDirection, animated: Bool, completion: ((Bool) -> Swift.Void)?)Parameters
viewControllersThe view controllers to add to page view.
directionThe direction of navigation.
animatedWhether or not adding the child view controllers should be animated.
completionThe animation completion handler.
View on GitHub
RSDPageViewControllerProtocol Protocol Reference