Do you guys have any ideas how to call a method every time a certain uiwebview is all the way up on the page ie. so that it can’t scroll up? This function would be great to be able to refresh a page in a smart way.
/Eric
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.
You can use something like this:
In the .h, your code should look something like:
@interface iSafeViewController : UIViewController <UIWebViewDelegate, UIScrollViewDelegate>Then in the .m
You will need to set your webView’s scrollView delegate though like this:
[webView.scrollView setDelegate:self];If that doesn’t work let me know.