I’m currently developing an app that needed to associate with different file types (PDF and all the image file types) so far I’ve managed to associate my app with PDF files but the problam is when i tried to do the same with image files it just doesn’t work.
is it even possible to associate PNG, JPG etc to you app ?
If it is, am i doing it right ? (the same way i took care of the pdf through the app plist “CFBundleDocumentTypes” )
I’ll really appriciate any kind of help
For example, try adding this to your application. Make sure you have an Icon named DocumentIcon.png that is 22 px by 29 px.
This will work for opening files of type .gz. However, if you change the LSItemContentTypes to public.image or public.jpeg, it won’t work.