How to download via WebKit pages?
How to download via WebKit pages?
- Subject: How to download via WebKit pages?
- From: Colin Cornaby <email@hidden>
- Date: Thu, 1 Jan 2004 14:40:08 -0800
Hi,
I have a page being viewed via a WebView. I want to be able to manage
downloads whenever the user clicks on a link that is a downloadable
(like a .tgz file). I tried creating a delegate, and linking it to the
download delegate for teh view in IB. I then added the following
delegate method:
- (void)download:(NSURLDownload *)download
decideDestinationWithSuggestedFilename:(NSString *)filename
Within the download method I put a NSLog to make sure the method was
being triggered. However, anytime I attempted to download the NSLog was
never triggered. What am I missing to manage downloads?
WebKit needs better documentation. Other than that its quite a nice API.
-----------------------
Colin Cornaby - Co-Founder, Carpe Stellarem. Duality Project Manager.
http://www.carpestellarem.com
_______________________________________________
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.