What I want to archive in the end, is the possibility for the user to open every single file in my app.
So I went ahead and added public.data
and public.content
as Supported Document Types as described here: https://www.cocoanetics.com/2013/01/open-in-all-files/
This works find for most files.
But now I have f.e. an email with an image in it, and my app will not appear in the Share-Sheet thinggy. I already figured out, that creating a ShareExtension would solve the problem of my app not showing up.
But ideally, my app would then also start (like the Create PDF in iBooks
Share-Extension works.
I need that, cause when the user want's to "open" a file using my app, we should be able to decide what to do with it.
It wouldn't be super bad if that doesn't work, but would be nice...