Checking [QLPreviewController canPreviewItem:item]
for supported items, e.g. PDF files, returns false
on iOS 13 but not on iOS 12. If you ignore this check and still attempt to display the item using QLPreviewController
, you just get a screen displaying the file name (on iOS 12 the contents are displayed).
According to the official documentation, QLPreviewController
still supports showing PDF files, so does anyone have a solution to this?