objective c - How to add multiple view controller in a page controller -
i want add multiple view controller in page controller view controller can scroll left , right side in page view controller.
how this..?
you need implement uipageviewcontrollerdatasource. documentation found here:
in the
pageviewcontroller:viewcontrollerbeforeviewcontroller: pageviewcontroller:viewcontrollerafterviewcontroller:
methods return uiviewcontrollers want show.
with the
setviewcontrollers:direction:animated:completion:
method uipageviewcontroller can set initial uiviewcontroller.
Comments
Post a Comment