I did some research but seems still no luck
when I added these xml in my info.plist
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeIdentifier</key>
<string>my.custom.uti</string>
<key>UTTypeDescription</key>
<string>PDF file</string>
</dict>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>LSItemContentTypes</key>
<array>
<string>public.data</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Icon.png</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeName</key>
<string>my.custom.uti</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
</array>
and I send 3 email to myself. 1 - pdf file. 2 - png file. 3 - jpg and png file.
when i added these xmls, my app can shows in pdf and txt file, when clicked "open with..." but what I want is open with in images. anything goes wrong?? and I set UITTypeConformsTo = public.data suppose that it is a general value. So that my app can open all the formats(at least pdf and images) , but seems it dont.
I also try to copy the xml in this answer to my info.plist https://stackoverflow.com/a/11609935/1061074 still no luck