Freddy
Freddy

Reputation: 75

UIPageviewcontroller transition style scroll continuous

The default pageviewcontroller scroll transition style does a flip. How do I make the scroll continuous or smooth?

Upvotes: 1

Views: 1789

Answers (1)

Daniel Galasko
Daniel Galasko

Reputation: 24237

You cannot have a continuous scroll, what you can have is paginated scrolling meaning that the PageViewController will always snap to a particular page. See the types:

UIPageViewControllerTransitionStylePageCurl = 0, // Navigate between views via a page curl transition.
UIPageViewControllerTransitionStyleScroll

Perhaps what you are looking for is a UIScrollView or UICollectionView (Meaning you are going to need to write your own continuous scrolling component)

Upvotes: 2

Related Questions