Re: WebKit WebArchive Create but no Load?
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