WebView pdf representation - div background colours AWOL
WebView pdf representation - div background colours AWOL
- Subject: WebView pdf representation - div background colours AWOL
- From: "email@hidden" <email@hidden>
- Date: Tue, 11 Mar 2014 15:55:38 +0000
I create local mustache template driven HTML content and display it in my OS X 10.9 app using WebView.
I get the WebView PDF representation like so:
NSView <WebDocumentView> *webDocumentView = [[[self.webView mainFrame] frameView] documentView];
NSData *pdfData = [webDocumentView dataWithPDFInsideRect:webDocumentView.frame];
However, the pdf rendering is missing some simple div background colouring (like alternating backgrounds on table rows).
The HTML looks as required in the WebView.
What have I missed?
Jonathan
_______________________________________________
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