• 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: stripped down webview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stripped down webview


  • Subject: Re: stripped down webview
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 18 Aug 2012 10:32:21 -0700

On Aug 18, 2012, at 8:26 AM, Steve Christensen <email@hidden> wrote:

> How about asynchronously downloading the page HTML into a string, doing a text replace of the name of the CSS file to your local one, then passing the modified HTML to the web view?

Doesn't work if there are style rules directly in the HTML, which is not uncommon.

Also, parsing HTML is kind of a minefield given the sort of malformed tag-soup that's common on teh interwebz.

—Jens
_______________________________________________

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


References: 
 >stripped down webview (From: Koen van der Drift <email@hidden>)
 >Re: stripped down webview (From: Koen van der Drift <email@hidden>)
 >Re: stripped down webview (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: How to (slowly) rotate a view
  • Next by Date: Re: help indexer or hiutil help
  • Previous by thread: Re: stripped down webview
  • Next by thread: Re: stripped down webview
  • Index(es):
    • Date
    • Thread