title: How to save document to "Files" App in swift
body: <p>I just created a PDF document in my app and I want to save the document on the device in a way that the "Files" app can access the saved document. </p>
  
  <p>When you download a PDF document in Safari there is an option to save the document to the "Files" app, which is what I'm trying to do.</p>
  
  <p>I Googled for several hours but wasn't able to find any useful methods.</p>