• 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
Re: TextView from HTML with embedded images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextView from HTML with embedded images


  • Subject: Re: TextView from HTML with embedded images
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 23 Sep 2002 03:26:14 -0400

shouldn't the server automatically convert all the links to absolute when you ask for the file?

anyways, since the HTMLfile has no knowledge of the base URL if the HTML doesn't include it,, you could try using the -initWithHTML:baseURL:documentAttributes: method and passing the pageURL as the second parameter.

On Monday, September 23, 2002, at 02:32 AM, David Sinclair wrote:

I couldn't find an answer to this in the documentation and archives, so here goes:

I'm loading a HTML page into a TextView. The page includes some images using relative URLs, some with absolute. The absolute URL images load and display fine, but the relative ones don't load.

Can anyone help me make the relative ones work, or is it not possible?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: TextView from HTML with embedded images
      • From: David Sinclair <email@hidden>
    • Re: TextView from HTML with embedded images
      • From: Scott Anguish <email@hidden>
References: 
 >TextView from HTML with embedded images (From: David Sinclair <email@hidden>)

  • Prev by Date: TextView from HTML with embedded images
  • Next by Date: Re: TextView from HTML with embedded images
  • Previous by thread: TextView from HTML with embedded images
  • Next by thread: Re: TextView from HTML with embedded images
  • Index(es):
    • Date
    • Thread