Re: iPhone: UIWebView scroll position

2010-02-09 Thread Eric E. Dolecki
Peter, I am not using a status bar, so I went with [webView stringByEvaluatingJavaScriptFromString:@"window.scrollTo(0,0);"] of course I don't get animation with that, so I am thinking of using jQuery to do that. Eric On Tue, Feb 9, 2010 at 2:22 PM, Peter Blazejewicz < peter.blazejew...@gmai

Re: iPhone: UIWebView scroll position

2010-02-09 Thread Peter Blazejewicz
Hello Eric, Can you clarify? By default when user tap status bar area embedded web view should scroll as any other scroll-enabled views. So that's built-in and should work with your UIWebView. Maybe you want to execute window.scrollTo(...) simply by evaluating JavaScript on your UIWebView instance

iPhone: UIWebView scroll position

2010-02-09 Thread Eric E. Dolecki
I'd like to be able to have a user tap an area which will scroll the contents of a UIWebView to the top - but I don't see that. Do I have to stick a UIWebView into a UIScrollView or is there an easier way? Eric ___ Cocoa-dev mailing list (Cocoa-dev@list