Is there any way to fire a method,when we scroll down from the bottom of a UIWebView ?
I have seen many answers but could not find a workable idea 🙁
Is there any way to fire a method,when we scroll down from the bottom
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.
UIWebView conforms to the UIScrollViewDelegate protocol.
The protocol defines the
scrollViewDidScroll:(look it up here) method. If you implement it and set your object as the delegate of UIWebView you should get notified if the View scrolls. You can then ask the webview for itscontentOffsetand determine whether the scroll was upwards or downwards.