I am trying to import email attachments into my iphone app. I am placing code in my info.plist with uti etc. I have successfully imported audio attachments (caf, aifc, aif, m4a, and mp3). But I am not being successful at all with image files. I want to import jpg, jp2, pic, tif, and png files.
I have written this code in my info.plist for the audio files.
as I said this works fine for all the audio types I want.
But when I enter this code
for the images, nothing happens. The app icon doesn't show up in the modal view to tap and "open in" my app.
can anyone see any thing I am doing wrong here?
I appreciate any and all help.
I have written this code in my info.plist for the audio files.
Code:
<dict>
<key>LSItemContentTypes</key>
<array>
<string>com.apple.coreaudio-format</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleTypeName</key>
<string>.caf</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
as I said this works fine for all the audio types I want.
But when I enter this code
Code:
<dict>
<key>LSItemContentTypes</key>
<array>
<string>public.png</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleTypeName</key>
<string>.png</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
for the images, nothing happens. The app icon doesn't show up in the modal view to tap and "open in" my app.
can anyone see any thing I am doing wrong here?
I appreciate any and all help.