4 Replies
      Latest reply on Dec 3, 2019 4:01 PM by precisely
      precisely Level 1 Level 1 (15 points)

        When I call [UIDocumentInteractionController interactionControllerWithURL:] in a Mac Catalyst app, the follow message appears in the debugger console, after which an exception is thrown:


        [General] UIDocumentInteractionController not available


        According to the documentation UIDocumentInteractionController and its interactionControllerWithURL class method are available in Mac Catalyst 13.0+. The code has been working just fine in iOS for a long time (and still works fine in iOS 13 on an iPad or iPhone).


        Has anyone else encountered this? What is the solution to make UIDocumentInteractionController work in the Mac app? Or, is the documentation incorrect and an alternative is needed?