Re: iPhone: UIWebView scroll position
Re: iPhone: UIWebView scroll position
- Subject: Re: iPhone: UIWebView scroll position
- From: Peter Blazejewicz <email@hidden>
- Date: Tue, 9 Feb 2010 20:22:16 +0100
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
(stringByEvaluatingJavaScriptFromString)?
Like: [NSString stringWithFormat: @"window.scrollTo(0, %d);" value]?
kind regards,
Peter Blazejewicz
On Tue, Feb 9, 2010 at 8:10 PM, Eric E. Dolecki <email@hidden> wrote:
> 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 (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden