Hello,
Does anyone know how to make a UIPageViewController check it's orientation on loading?
I have it sorted for when the device is physically rotated but it doesn't call the following function when loading.
Code:
- (UIPageViewControllerSpineLocation)pageViewController:(UIPageViewController *)pageViewController spineLocationForInterfaceOrientation:(UIInterfaceOrientation)orientation
Only when you rotate the iDevice does the function get called so if the app loads in landscape, it only loads one view controller so you don't get the two page view.
Any help would be most appreciated.
Using Xcode 4.2 with a storyboard if this makes any difference.
Cheers.