Receiving Files from Apps

Hi,

I'm programming an email client and I want to be able to send abritary files as attachment. Therefore I want to receive any file from other Apps.

I looked on many tutorials, but if I want to send a file - i. e. from Photos - to my email client, it doesn't show up as selection.


This is my Info.plist snippet:


    <key>CFBundleDocumentTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeName</key>
            <string>General File</string>
            <key>LSItemContentTypes</key>
            <array>
                <string>public.data</string>
            </array>
            <key>LSHandlerRank</key>
            <string>Alternate</string>
        </dict>
    </array>


Am I missing something? Do I have to enable any permissions?


PS: I'm testing only in the simulator, because I don't actually have an iPhone or iPad.

Receiving Files from Apps
 
 
Q