On Dec 20, 2010, at 12:08 AM, Donald Hall wrote:

> I have a UIWebview in my app that I want to use to load an HTML document 
> containing anchors so that I can jump around the document by tapping on the 
> links to the various anchors. (e.g. a link at the bottom of the page to jump 
> to the top of the page)
> 
> I have the links and anchors working fine, except that for example when I am 
> at the bottom of the page and tap on the link to jump to the top of the page, 
> then scroll down from the top to the bottom, then tap the link to go to the 
> top again, nothing happens. It's as if the webview thinks it is still at the 
> top of the page.
> 
> Is there any way to get the webview to realize that the top of the page is no 
> longer visible after scrolling? I tested this on my Mac with Safari, and 
> scrolling does not affect the action of the link and anchor there.
> 
> Thanks for any help. I have spent several hours searching with no luck.
> 
> Don
> -- 
Named anchors tend to appear in URLs...
might be a bug, but might not, think about logging and manipulating the URL...



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to