Printing a UIWebView changes the layout of the view

Originator:smartgoat
Number:rdar://8668247 Date Originated:11/15/2010
Status:Duplicate/8430611 Resolved:
Product:iPhone SDK Product Version:4.2
Classification:Serious Bug Reproducible:Yes
 
15-Nov-2010 11:26 AM Billy Mabray:
Summary:

When using a UIViewPrintFormatter to print a UIWebView, the UIWebView changes, apparently applying the print styles on screen before sending the view to the Print Center.

Steps to Reproduce:

Download the PrintWebView sample code from the Developer Center. Build and run the project. Observe the UIWebView before and after printing.

Expected Results:

UIWebView should not change, but the printed version should use the proper print stylings.

Actual Results:

Both the UIWebView and the printed version of that view have print stylings applied.

Notes:

I've attached screenshots, but my guess is you guys already know about this and are working on it.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!