On Jan 31, 2010, at 1:24 PM, Jon Buys wrote:
> I'd like to be able to load images using an <img> tag in my HTML from my
> ~/Library/Application Support/ directory. I've been trying to use baseURL,
> but I get strange results when I create a file URL that points to my
> Application Support directory.
You'll need to tell us what you did and what the results were, if you want us
to be able to help.
> - (void)webView:(WebView *)someWebView
> decidePolicyForNavigationAction:(NSDictionary *)actionInformation
> request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id
> < WebPolicyDecisionListener >)listener {
> [listener ignore];
>
> [[NSWorkspace sharedWorkspace] openURL:[request URL]];
> }
What's this for? It seems unrelated to displaying images.
—Jens
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]