5 Replies
      Latest reply on Oct 10, 2019 2:17 PM by cappuccino
      SyamalaDutt Level 1 Level 1 (0 points)

        In Catalina I have added "Privacy - Document Folder Usage Description" : "Catalina wants to access your Destkop folder" in Info.plist

         

        Code  trying to access Desktop folder :

         

        do {

                   try  FileManager.default.trashItem(at: NSURL(fileURLWithPath: "/Users/catalina/Desktop/Doc.docx") as URL, resultingItemURL: nil)

                } catch  let err as NSError {

         

                   print(err)

               }

         

        I see system generated user consent but my customised message is not being added