UIDocumentBrowserViewController should allow to override even known UTIs such as com.adobe.pdf

Number:rdar://41307902 Date Originated:21-Jun-2018 12:46 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11.4.1 and iOS 12b2
Classification:Enhancement Reproducible:Always
We work on PDF Viewer (https://pdfviewer.io/) and provide a custom PDF renderer which is more accurate than Apple’s stock PDF renderer. This results in a sub-par user experience, as Apple’s stock render engine is used in UIDocumentBrowserViewController, where some annotations are missing, have incorrect rotation or are wrongly sized.

Of course in an ideal world Apple should render PDF with 100% accuracy, however there’s a lot of ambiguity especially for annotations without appearance stream, so it will never look 100% like our renderer. People are confused when the thumbnails look different to when they open the document.

Please allow to override even system-handled UTIs inside UIDocumentBrowserViewController. I do not expect such a hook to work in Files app, but we’d really like to be accurate in our own app.

Steps to Reproduce:

Expected Results:

Actual Results:

iOS 11.4.1 and iOS 12b2



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!