ios - how to add dynamically viewcontroller to uipageviewcontroller on button click -


am

I'm new to the development of iOS, I sample application with UIPageviewcontroller , but I'm about confused, UIPageviewcontroller eg, index - should back presentationIndexForPageViewController (NSInteger): (UIPageViewController *) pageViewController if we are adding dynamic view controller If I add zero and if I add viewcontroller , and can scroll, it is not showing the proper index Is, I no one can please tell me how I UIPageViewController Dynamic implemented.


Comments