I've read several resources online, and I must just be missing something simple. I've reviewed the apple documentation on Uniform Type Identifiers, and I've read through forum posts as well, and I don't see what I'm doing incorrectly.
This is from my Info.plist file:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>kUTTypePNG</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentType</key>
<array>
<string>public.png</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>PDF</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentType</key>
<array>
<string>com.adobe.pdf</string>
</array>
</dict>
</array>
As you can see, I've tried various combinations of the keys, such as leaving out CFBundleTypeRole, using the constant name ("kUTTypePNG", which doesn't seem right, but I saw it in another post), etc, and no luck.
Note that this is importing only. I'm not trying to export any custom file types.
Are there any other requirements other than adding this to my plist?
Am I missing some keys or using incorrect information?