Post

Replies

Boosts

Views

Activity

Reply to UIActivityViewController saving 2 identical PDFs
Not a bug, but I really didn't find much documentation or anything about it. The reason I was getting 2 copies is because I was saving my "temp" file in the Documents directory instead of the temp directory. So, for the tempFolder, use this instead: let tempFolder = FileManager.default.temporaryDirectory I hope this helps anyone else who may come across this.
Jun ’20