Is there anyway to know if a UITableView is scrolling towards the upper or the lower end of the table ?
Is there anyway to know if a UITableView is scrolling towards the upper or
Share
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.
There’s no single function/property to do that. I think the easiest way to get the direction is to save current content offset in delegate’s
scrollViewWillBeginDragging:method and compare it to the current offset value in delegate’sscrollViewDidScroll:method.