• 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: Running Safari from application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Safari from application


  • Subject: Re: Running Safari from application
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 18 Sep 2009 11:58:16 -0700


On 18.09.2009, at 18:52, Bartosz Białecki wrote:
I think so too. So do you know maybe another solution how to open local
html file with Safari?

You could encode the entire HTML file in a 'data:' URL, if it's not too huge. (You'd have to do the same thing to any custom image: convert it to a data: URL and use that as the src= attribute.)


Usually people just embed their own UIWebView if they want to display custom local HTML content.

—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: 
 >Running Safari from application (From: Bartosz Białecki <email@hidden>)
 >Re: Running Safari from application (From: Uli Kusterer <email@hidden>)
 >Re: Running Safari from application (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: What is the life of the c string returned by NSString's UTF8String method?
  • Next by Date: Re: Finding user's Music folder (and others)?
  • Previous by thread: Re: Running Safari from application
  • Next by thread: Handling mouse events in NSCell's?
  • Index(es):
    • Date
    • Thread