I'm trying to associate my iPhone application to open image files such as jpeg and png. I did it this way:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>public.image</string>
</array>
</dict>
</array>
But this solution doesn't work. If I replace public.image with, for example, public.objective-c-source my app begins to open objective-c source code. But when I use public.image or public.jpeg it doesn't work.
Can you tell where is my mistake? Thank you for answer.