PLATFORM AND VERSION
iOS
Development environment: Xcode 16.2, macOS 15.3.1
Run-time configuration: macOS 15.3.1
DESCRIPTION OF PROBLEM
in MacCatalyst UIDocumentInteractionController does not present a document preview, does neither generate a document UTI nor a document icon.
All-in-all UIDocumentInteractionController appears to be unimplemented in MacCatalyst although it is marked available MacCatalyst 13.1+ in the docs.
STEPS TO REPRODUCE
we have submitted a test project illustrating the issue in FB11826362
run the test project on an iOS device --> it will return document UTI, icons, and present a document preview.
run the test project on MacCatalyst --> it will crash at the assert() of the document UTI
Topic:
UI Frameworks
SubTopic:
UIKit