I have a UIScrollView with 5 page. At last page, if I scroll to right I will display a new UIView. (If i scroll to left it will back page 4th ).
So, how I can know UIScrollView is drag to right?
Thank you !
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.
Could you clarify more on exactly what you want?
If you’re asking for when the UIScrollView starts scrolling, then you could use the following method from UIScrollViewDelegate:
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView