2021年1月2日星期六

UIDocumentInteractionController not available in Mac catalyst

May app getting crash when execute below code.

Code: self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:targetURL];

Crash log: Terminating app due to uncaught exception 'NSGenericException', reason: 'UIDocumentInteractionController not available'

is there any solution for this issue or any alternative class?

https://stackoverflow.com/questions/65520460/uidocumentinteractioncontroller-not-available-in-mac-catalyst December 31, 2020 at 07:46PM

没有评论:

发表评论