Note that there are some explanatory texts on larger screens.

plurals
  1. POOpen in... for custom file type works in iOS 5, 6 & 7 but not iOS 4
    primarykey
    data
    text
    <p>I have an app that declares a custom file type (which is just some XML) and when iOS encounters this file on iOS 5, 6 &amp; 7, it knows what to do with it - my app fires up and the file imports just fine.</p> <p>However on iOS 4.3.3, the custom file type just seems to be thought of as plain text - the email client displays it as such and doesn't give the option to open the file in my app.</p> <p>Here are the appropriate parts of my app's Info.plist:</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;iBlueSky Format&lt;/string&gt; &lt;key&gt;LSHandlerRank&lt;/key&gt; &lt;string&gt;Owner&lt;/string&gt; &lt;key&gt;LSItemContentTypes&lt;/key&gt; &lt;array&gt; &lt;string&gt;uk.co.tenero.ibluesky&lt;/string&gt; &lt;/array&gt; &lt;/dict&gt; &lt;/array&gt; &lt;key&gt;UTExportedTypeDeclarations&lt;/key&gt; &lt;array&gt; &lt;dict&gt; &lt;key&gt;UTTypeConformsTo&lt;/key&gt; &lt;array&gt; &lt;string&gt;public.data&lt;/string&gt; &lt;/array&gt; &lt;key&gt;UTTypeDescription&lt;/key&gt; &lt;string&gt;iBlueSky File&lt;/string&gt; &lt;key&gt;UTTypeIdentifier&lt;/key&gt; &lt;string&gt;uk.co.tenero.ibluesky&lt;/string&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;bsky&lt;/string&gt; &lt;/array&gt; &lt;key&gt;public.mime-type&lt;/key&gt; &lt;string&gt;application/xml&lt;/string&gt; &lt;/dict&gt; &lt;/dict&gt; &lt;/array&gt; </code></pre> <p>Can anyone spot what I'm doing wrong?</p> <p>Support for manipulating files like this came in iOS 3.2, so it <em>should</em> work.</p> <p>I'm intending to drop support for iOS 4, 5 &amp; 6 in the next major update, but I would like to give users on older devices one more release with this functionality.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload