• 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: WebKit WebArchive Create but no Load?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebKit WebArchive Create but no Load?


  • Subject: Re: WebKit WebArchive Create but no Load?
  • From: Bruce Cresanta <email@hidden>
  • Date: Tue, 25 Jan 2011 13:38:32 -0700

SOLVED--

The webArchive message on the dataSource is faulty-- it creates bad archives.    Much better to create a WebArchive with it's own initialization routine that takes a mainResource and subresources.   The loadArchive works flawlessly against  a webarchive created in this fashion.

Bruce


On Jan 25, 2011, at 3:40 AM, Mike Abdullah wrote:

> -[WebFrame loadArchive:]
>
> On 25 Jan 2011, at 04:29, Bruce Cresanta wrote:
>
>> Hello,
>>
>> It is rather straightforward to create a webarchive in Cocoa:
>>
>> WebArchive* archive = [[[webArchive mainFrame] dataSource] webArchive]
>>
>> However... Once you have this archive, there seems to be no way to load it back into the webview.
>>
>> Am I missing something??
>>
>> Any guidance is very much appreciated.
>>
>> Thank you,
>>
>> Bruce
>> _______________________________________________
>>
>> 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
>

_______________________________________________

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: 
 >WebKit WebArchive Create but no Load? (From: Bruce Cresanta <email@hidden>)
 >Re: WebKit WebArchive Create but no Load? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Using NSWindow without NIB (XIB) file ?
  • Next by Date: Re: Using NSWindow without NIB (XIB) file ?
  • Previous by thread: Re: WebKit WebArchive Create but no Load?
  • Next by thread: Disable (grey out) main menu when displaying modal window?
  • Index(es):
    • Date
    • Thread