• 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
[UIWeVview] goBack:/goForward:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UIWeVview] goBack:/goForward:


  • Subject: [UIWeVview] goBack:/goForward:
  • From: Donald Hall <email@hidden>
  • Date: Wed, 5 Jan 2011 23:55:34 -0600

HI,

It seems that these two methods work fine if the view content is loaded by "loadDocument:inView:", but don't work if the HTML data is loaded into the web view via "loadHTMLString: baseURL". In the former case the back and forward buttons I made to invoke these two methods work, but when I use the latter they don't. In both cases any links and anchors in the view respond as expected. My workaround (as yet untested) is to assemble my view content, which is made up of text from several files, write it to a temporary file in /tmp, and use loadDocument: on the temporary file.

Am I missing something, or is the the way it should work? Is the base URL important here?

Thanks,

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


  • Prev by Date: Question regarding popoverControllerDidDismissPopover: delegate method
  • Next by Date: Making a window topmost within an application
  • Previous by thread: Re: Question regarding popoverControllerDidDismissPopover: delegate method
  • Next by thread: Making a window topmost within an application
  • Index(es):
    • Date
    • Thread