• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIWebview: scrolling vs anchors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: UIWebview: scrolling vs anchors
      • From: John Joyce <email@hidden>
  • Prev by Date: Core Data mergeChangesFromContextDidSaveNotification: does not *completely* update the context ?
  • Next by Date: UIBezierPath: trying to create an array with CGPointMake
  • Previous by thread: Re: Core Data mergeChangesFromContextDidSaveNotification: does not *completely* update the context ?
  • Next by thread: Re: UIWebview: scrolling vs anchors
  • Index(es):
    • Date
    • Thread