title: How to support external UTIs on the iPhone
body: <p>I have been working on this for awhile for an app that I have been working on.  The app is able to open up different files from other apps like mail for example.  I have it working on the iPad but I need it to work on the iPhone as well.  I ran into a problem with testing it on the iPhone, however, because the exported file extensions that I have in the UTExportedTypeDeclarations section in the info.plist file of the app are not able to be touched in mail on the iPhone.</p>
  
  <p>Here is what I have in the UTExportedTypeDeclarations section: </p>
  
  <pre><code>       &lt;key&gt;UTExportedTypeDeclarations&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;UTTypeIdentifier&lt;/key&gt;
          &lt;string&gt;com.myapp.ext&lt;/string&gt;
          &lt;key&gt;UTTypeDescription&lt;/key&gt;
          &lt;string&gt;Generic&lt;/string&gt;
          &lt;key&gt;UTTypeConformsTo&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;public.data&lt;/string&gt;
              &lt;string&gt;public.content&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;UTTypeTagSpecification&lt;/key&gt;
          &lt;dict&gt;
  
              &lt;key&gt;public.filename-extension&lt;/key&gt;
              &lt;array&gt;
                  &lt;string&gt;ext&lt;/string&gt;
      &lt;/array&gt;
          &lt;/dict&gt;
      &lt;/dict&gt;
  
  &lt;/array&gt;
  </code></pre>
  
  <p>I also have this in this in the corresponding CFBundleDocumentTypes :</p>
  
  <pre><code>     &lt;dict&gt;
          &lt;key&gt;CFBundleTypeName&lt;/key&gt;
          &lt;string&gt;Generic&lt;/string&gt;
          &lt;key&gt;LSHandlerRank&lt;/key&gt;
          &lt;string&gt;Alternate&lt;/string&gt;
          &lt;key&gt;LSItemContentTypes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;com.myapp.ext&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  </code></pre>
  
  <p>In conclusion it is not reading the .ext file extension on the iPhone but it is on the iPad.
  Any help would be much appreciated.</p>
  
  <p>Thank you</p>