Reputation: 6697
I'd like to use an horizontal UIPageViewController
for my iOS 5.0 application.
The only problem I have is that I don't want a UIPageViewControllerTransitionStylePageCurl
transition. Is there a way to get a classic transition like translation for example?
Note :Even ugly hacks are accepted since it would take out a lot of my previous code
Upvotes: 5
Views: 4586
Reputation: 53371
Update to tell you that now there is now a new transition style for iOS 6, and it's the transition you wanted
UIPageViewControllerTransitionStyleScroll
Upvotes: 2
Reputation: 38259
But UIPageViewController has only one transition style:
enum {
UIPageViewControllerTransitionStylePageCurl = 0
};
typedef NSInteger UIPageViewControllerTransitionStyle;
Solution is that u will have to create UIPageViewController like viewController with custom transition
Refer MPFoldTransition sample code
Upvotes: 0