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.
d...@appsandmore.com
http://www.appsandmore.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to