title: Opening a jpeg image from mail app into my iOS app
body: <p>I was trying to implement this functionallity for the first time, and seemed pretty straight forward, but for some reason is not working for me.</p>
  
  <p>My intention is to open a simple jpeg from the mail app into my application, after that was not working I was just trying to open any kind of document by adding this to the Info.plist. </p>
  
  <p>Same result, my application is not appearing on the list of "Open with..."</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;All Docs&lt;/string&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Viewer&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;public.content&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;  &lt;/array&gt;
  </code></pre>
  
  <p>I have search already in StackOverFlow and the <a href="http://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html" rel="nofollow noreferrer">apple docs</a>, but none of the answers make it work for me, so maybe is something simple that I am missing here...</p>
  
  <p><a href="https://stackoverflow.com/questions/9266079/why-is-my-ios-app-not-showing-up-in-other-apps-open-in-dialog">Why is my iOS app not showing up in other apps&#39; &quot;Open in&quot; dialog?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2774343/how-do-i-associate-file-types-with-an-iphone-application/2781290#2781290">How do I associate file types with an iPhone application?</a></p>
  
  <p><strong>How I am testing it (maybe has to do with this):</strong></p>
  
  <p>Have an email with an attachment. Add the settings to the plist and the run the application on my device, hoping that the next time I open the mail app and click on the attachment my app will be on the list.</p>