'How do I forward a download file to my app in swift?

I created an app for updating FW. And I want to add a function which is forward a download file to my app.

Exactly, when I download a fw file from an e-mail, I want to forward that to my app.

After I download the file, when I press the 'more' button, my app appears in the list, and I want to click on it to forward the file.

I found many methods to solve this problem, like 'add in info.plist "Application supports iTunes file sharing -> YES"', 'share extention' and so on. But they are methods which can forward a file from my app to another app. I need 'how to forward a download file to my app'.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source