How to reload UIPageViewController in viewDidAppear
?
There, I refresh information from CoreData and I want to updated values when the view appears.
I tried with function reloadInputViews()
, but unsuccessfully only when you start to open pages then the information is updated.
If you want to reload the ViewControllers inside the UIPageViewController, just re-set them with:
if you are going to update your viewControllers from inside a viewController, you have to call it this way: