Is it even possible to change the speed at which we page? I know Apple does it with their iOS6 App Store. But maybe they are using undocumented APIs.
Anyone?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think there is an official way to change the paging speed, I don’t know whether there are any private properties.
If you want to implement it yourself, you would have to implement the paging by responding to the
UIScrollViewDelegatemethods. However, you would also have to implement custom scrolling behaviour for aUIScrollView, as you cannot specify the duration of the animation ofsetContentOffset:animated:.I have done something similar when I have tried to mimic the behaviour of the safari tab selection view. Perhaps some part of it helps you, solving your problem. First, I have implemented a
UIScrollViewsubclass whosesetContentOffset:animated:takes a duration and a timing function. The tab view implements paging by using the delegate methods ofUIScrollViewand callingsetContentOffset:animated:with a custom duration.