UIMarkupTextPrintFormatter doesn't render images
Originator: | nygmlist | ||
Number: | rdar://34568911 | Date Originated: | Sept 21, 2017 |
Status: | Open | Resolved: | No |
Product: | iOS + SDK | Product Version: | 11 |
Classification: | Bug | Reproducible: | Always |
Area: UIKit Summary: When generating a PDF using a UIMarkupTextPrintFormatter made of an HTML string with img tags, the images are not rendered. If the HTML code is loaded into a WKWebView before generating the PDF, then the images will be rendered in the PDF. Steps to Reproduce: Execute playground attached [https://github.com/nyg/HTMLWithImagesToPDF-Playground]. Also, an iOS app showcasing the problem in more details: https://github.com/nyg/HTMLWithImagesToPDF Expected Results: Images should be rendered without the use of WKWebView. Actual Results: Images are not rendered. Unless the HTML code was loaded into a WK/UIWebView before generating the PDF. Version/Build: iOS 10, iOS 11 Configuration: None
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!
DUPLICATE OF 15119601
Apple says it's a duplicate of 15119601.