I have a Juce iOS project in which I registered a new Document type (and its associated UTI), I can see it’s working correctly by mailing to myself one of the app’s document:
When I click the attachment I can select “Open with…” and my app appears, but I didn’t find a way in Juce to know which file needs to be loaded (either at startup or in the resumed() callback).
It looks like this is achieved on OSX using anotherInstanceStarted but it doesn’t seem to be called on iOS.
It's not clear from your post what it is that you're trying to do. In any case I've registered UTI handlers in a couple of my apps. When the app is started, they check in their document directory to see if any new documents have been copied there, because that's where mail will put them. If you find any, you need to process them and if needs be you can copy the file into the apps library directory and delete the one in the document directory so it won't be processed again.
Here's me again, I just wanted to ask: in which folder are you searching exactly ?
I tried to search in File::userDocumentsDirectory and File::userApplicationDataDirectory after using "Open in..." in the Mail app, but the file doesn't seem to be copied in any of those folders.