Recreating a PDF via UIGraphicsBeginPDFContextToFile and CGContextDrawPDFPage results in a completely white PDF
Originator: | steipete | ||
Number: | rdar://18501998 | Date Originated: | 30-Sep-2014 07:08 PM |
Status: | Open | Resolved: | |
Product: | iOS | Product Version: | 8 |
Classification: | Bug | Reproducible: | Always |
Peter Steinberger30-Sep-2014 07:08 PM Summary: See DocumentRenderSample. Run and open the output PDF (path is in the log). Steps to Reproduce: See DocumentRenderSample. Run and open the output PDF (path is in the log). Compare with original PDF. See that most content is missing Expected Results: File should look the same. Actual Results: Example output: 2014-09-30 19:03:32.009 DocumentRenderSample[40510:1933027] Inout: /Users/steipete/Library/Developer/CoreSimulator/Devices/DC1856A3-8DE6-46D6-9DF7-F728FA6230E3/data/Containers/Bundle/Application/A9048727-F1F7-46D8-8A29-29DB6CE4A3C1/DocumentRenderSample.app/Failed_split_file.pdf 2014-09-30 19:03:32.010 DocumentRenderSample[40510:1933027] Output: /Users/steipete/Library/Developer/CoreSimulator/Devices/DC1856A3-8DE6-46D6-9DF7-F728FA6230E3/data/Containers/Bundle/Application/A9048727-F1F7-46D8-8A29-29DB6CE4A3C1/DocumentRenderSample.app/Failed_split_file-output.pdf Failed_split_file-output.pdf should look like Failed_split_file.pdf but is white. Version: iOS 8.0.2 Notes: Configuration: iPad Air Attachments: 'DocumentRenderSample.zip' was successfully uploaded.
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!
Still happening with iOS 10.0.1 GM.