Re: iOS Document Interaction Technology
Re: iOS Document Interaction Technology
- Subject: Re: iOS Document Interaction Technology
- From: koko <email@hidden>
- Date: Fri, 15 Feb 2013 14:28:09 -0700
This was an interesting problem, well to me anyway.
I copied CFBundleDocumentTypes and UTExportedTypeDeclarations from an OSX project to an iOS project.
The OSX app is recognized as the app to open files of types specified in these keys so I assumed the key values were constructed properly.
Well, the UTExportedTypeDeclarations was malformed and it is the key that iOS apparently looks to for registering documents.
Which leads me to believe that OSX does not use this key but uses CFBundleDocumentTypes OR OSX overlooks minimal malformations and interprets UTExportedTypeDeclarations regardless.
So, which is it … if anyone can answer.
BTW the UTExportedTypeDeclarations malformation was that the array of dictionaries was in an array. Removing the outer array tags made it all good.
-koko
On Feb 14, 2013, at 12:33 PM, David E Blanton <email@hidden> wrote:
>
> On Feb 14, 2013, at 12:12 PM, Damian Carrillo <email@hidden> wrote:
>
>> You may be missing UTExportedTypeDeclarations.
>
> I have both CFBundleDocumentTypes and UTExportedTypeDeclarations in my info.plist.
>
> UTExportedTypeDeclarations has a UTTypeConformsTo key for each item in the LSItemContentTypes array.
>
>
> -koko
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden