How to update UIPageViewController with new objects?

Good time of day.
Tell me how UIPageViewController to update with new data?
He is called by pushViewController, and is well on the stack of navigeyshen. Let's say I delete one of the objects in UIPageViewController (one of the sheets, for example). After this call the UIPageViewController with new objects, while retaining the stack in navigeyshen? (that is, again, to call pushNavigation will not work).
Thank you
July 4th 19 at 23:45
1 answer
July 4th 19 at 23:47
stackoverflow.com/questions/15325891/refresh-uipag...

If you do not understand in England it is briefly:

- insert in the delegate this method
func pageViewController( pageViewController: UIPageViewController,
 didFinishAnimating finished: Bool,
 previousViewControllers: [your uiviewcontroller],
 transitionCompleted completed: Bool)
{
 if !completed { return }
dispatch_async(dispatch_get_main_queue())
{
 pageViewController.dataSource = nil
 pageViewController.dataSource = self
}
}

this did not affect the current display page.

Find more questions by tags Apple XcodeObjective-C