title: Receiving Files from Apps
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>This is my Info.plist snippet:</p>
  
  <pre><code>    &lt;key&gt;CFBundleDocumentTypes&lt;/key&gt;  
      &lt;array&gt;  
          &lt;dict&gt;  
              &lt;key&gt;CFBundleTypeName&lt;/key&gt;  
              &lt;string&gt;General File&lt;/string&gt;  
              &lt;key&gt;LSItemContentTypes&lt;/key&gt;  
              &lt;array&gt;  
                  &lt;string&gt;public.data&lt;/string&gt;  
              &lt;/array&gt;  
              &lt;key&gt;LSHandlerRank&lt;/key&gt;  
              &lt;string&gt;Alternate&lt;/string&gt;  
          &lt;/dict&gt;  
      &lt;/array&gt;  
  </code></pre>
  
  <p>Am I missing something? Do I have to enable any permissions?</p>
  
  <p>PS: I'm testing only in the simulator, because I don't actually have an iPhone or iPad.</p>