UIWebview: scrolling vs anchors
UIWebview: scrolling vs anchors
- Subject: UIWebview: scrolling vs anchors
- From: Donald Hall <email@hidden>
- Date: Mon, 20 Dec 2010 00:08:09 -0600
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
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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