PDA

View Full Version : Scroll UIWebView on touch of UIButton




satyam90
Sep 25, 2009, 04:48 AM
I have a web view in which I am loading PDF page.
I have a button in my toolbar. On click of that button, I want to scroll to next page.
I tried a lot with java script and functions "scrollBy", "scrollByPages" etc.
I noticed that only "scrollTo" of java script is working.
How can I do that?

--satyam.



mobidev
Jan 22, 2010, 02:34 AM
I have a web view in which I am loading PDF page.
I have a button in my toolbar. On click of that button, I want to scroll to next page.
I tried a lot with java script and functions "scrollBy", "scrollByPages" etc.
I noticed that only "scrollTo" of java script is working.
How can I do that?

--satyam.

Hi,

did u found the solution, I would also like to make the vertical scroll of UIWebView on button click.