iphone - Whenever I use UIWebView loadHTMLString ,it's scrollView.contentOffset.y turns to 0 -
how can let webview memorize webview.scrowview.contenoffset
localtion .so when download new data has animation frow down .
[webview.scrollview setcontentoffset:cgpointmake(0, 0) animated:yes];
try out line javascript
[webview stringbyevaluatingjavascriptfromstring:@"window.scroll(0,0)"];
Comments
Post a Comment