IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label attachment. Show all posts
Showing posts with label attachment. Show all posts

Wednesday, March 20, 2013

import image email attachment into app

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.



 

Code:

 

LSItemContentTypes

com.apple.coreaudio-format

CFBundleTypeRole

Viewer

CFBundleTypeName

.caf

LSHandlerRank

Alternate

as I said this works fine for all the audio types I want.


But when I enter this code


 

Code:

 

LSItemContentTypes

public.png

CFBundleTypeRole

Viewer

CFBundleTypeName

.png

LSHandlerRank

Alternate

 

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 have looked at what there is about this and nothing seems to suggest that you need to do any thing different for images than for audio files.


I appreciate any and all help.


View the original article here