Search code examples
iphonexcodeios5storyboarduipageviewcontroller

using the UIPageViewController in a storyboard


I'm looking to use the UIPageViewController with Xcode's storyboard. The only example I could find was this tutorial on how to implement UIPageViewcontroller using separate xib files.

However in this tutorial the UIPageViewController is instantiated programmatically within a class that extends UIViewController. This makes it complicated to translate in to how the storyboard interprets the UIPageViewcontroller (which is as an instance on its own).

Any help on how to create a functioning UIPageViewController with Xcode's storyboard will be much appreciated.

UPDATE: I managed to resolve this issue by making a new project in Xcode using the default pagecontroller template. It used the storyboard and was easy to follow.


Solution

  • UPDATE: I managed to resolve this issue by making a new project in xcode using the default pagecontroller template. It used the storyboard and was easy to follow.