Thumbnails not being generated for custom file types on iOS/iPadOS 16

Originator:appsolutelyfun
Number:rdar://FB11255032 Date Originated:08/14/22
Status:Open Resolved:No
Product:iOS, iPadOS Product Version:16
Classification:QuickLook Framework Reproducible:Yes
 
The QLThumbnailProvider code in a thumbnail extension on an iOS / iPadOS *16* app fails to create thumbnails, unique to each file, for custom file types.  Those thumbnails are supposed to appear for documents of those types in either the app's own UIDocumentBrowserViewController view or the Files app view.  The exact same code, though, successfully produces visible thumbnails when the app runs on iOS / iPadOS *15*, so the problem seems clearly linked to some bug in iOS / iPadOS 16.

Steps to reproduce:

(1) Compile and run Apple's own "Particles" app sample code, available at https://developer.apple.com/documentation/uikit/view_controllers/building_a_document_browser_app_for_custom_file_formats.
(2) When that code is run on iOS / iPadOS *15.5* devices or simulators, the code successfully produces custom thumbnails for the Particles files that can be created in the app.  You can see those thumbnails in the UIDocumentBrowserViewController view for the app, or in the Files app.
(3) On the other hand, when the exact same code is run on iOS / iPadOS *16* devices or simulators, the code *fails* to produce thumbnails for the Particles files that can be created in the app.  The generic Particles app document icon appears instead for those files in the UIDocumentBrowserViewController view for the app, or in the Files app.

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!