I'm using a UIPageViewController to display various text files. My app uses the Xcode template for a page-based app.
At the moment, when a new file is loaded the controller displays the old text until a page is turned. It then displays the new text, so the data is being loaded properly. What I'd like the controller to do is display the first page of the new file immediately upon loading.
I've defined a notification that's sent when a new text file is loaded. What should my page view controller do when it receives this notification?