Problem with WebKit Download Delegate
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Here's some of the significant bits of my code: @implementation StoreViewController - (void)awakeFromNib { [webView setDownloadDelegate:self]; } - (void)startDownloadingURL:sender { NSLog(@"startDownloadingURL:"); } - (void)downloadDidBegin:(NSURLDownload *)download { NSLog(@"downloadDidBegin:"); } - (void)downloadDidFinish:(NSURLDownload *)download { NSLog(@"downloadDidFinish:"); } -- Dave Batton Mere Mortal Software http://www.Mere-Mortal-Software.com/blog/ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... I've added WebKit to my project and it's working fine. I can display a web page and navigate around. I've registered with the notification center so I can display a progress indicator as pages download. Works fine. I've also specified a download delegate, but my delegate methods aren't being called when I click on a download link like a zip file. Am I doing something wrong, or am I wrong to expect my delegate method to get called when I click on a file link? What am I missing? - (void)download:(NSURLDownload *)download didCreateDestination: (NSString *)path { NSLog(@"download:didCreateDestination:"); } This email sent to site_archiver@lists.apple.com
participants (1)
-
Dave Batton