Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
491 views

Cocoa WebView won't render all the images on OSX 10.8

I'm currently developing an application for OS X, backwards compatible with OS X 10.6. At some point I create a WebView in which I load html content that I create dynamically. The html content is ...
Artur's user avatar
  • 71
0 votes
1 answer
180 views

WebView to TIFF representation

I'm trying to capture the contents of a WebView and saving it as an image. This is my code right now (cv is the web view): [cv lockFocus]; NSBitmapImageRep *rep = [[NSBitmapImageRep alloc] ...
Fatso's user avatar
  • 1,318
2 votes
2 answers
683 views

Memory continues to increase when loading images to Webview + Safari

I load HTML file which loads images using Javascript files to WebView. Every time when I load html file to Web view it shows me some memory increased in Activity Monitor. Even, when I release Webview ...
user1351584's user avatar
0 votes
1 answer
739 views

using stringByEvaluatingJavaScriptFromString to extract the src of an img then assigning the url to a NSString OR NSURL

I'm using a WebView in my cocoa application, I would like to extract an image's url from the WebView. I've been trying to use stringByEvaluatingJavaScriptFromString to extract it with no avail. ...
Bachopin's user avatar
1 vote
1 answer
1k views

Printing (Cocoa) WebView contents results in cut images

Is there any way to avoid the rendered HTML elements in a WebView from being cut when printing? This is a sample of what I'm trying to avoid: I'm printing to PDF using the following code: // Copy ...
biasedbit's user avatar
  • 2,870
0 votes
1 answer
258 views

The proper way to insert an image in memory into Webview in Cocoa?

I have an image of a graph generated using the Core-Plot framework. I'd like to be able to insert the image into a custom report which is held in a Webview. Is there an advised or best practise way ...
Ian Turner's user avatar
  • 1,413