Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CFBundleDocumentTypes & UIFileSharingEnabled issues

Has anyone gotten UIFileSharingEnabled or CFBundleDocumentTypes to work? I added UIFileSharingEnabled as true to my plist and used Apple's example from the link below for CFBundleDocumentTypes, but can't seem to get it to work.

I don't see my app under file sharing in iTunes, and I do not get the option to open documents I registered in my app when I click on them in the mail.app

http://developer.apple.com/iphone/library/documentation/General/Conceptual/iPadProgrammingGuide/CoreApplication/CoreApplication.html

like image 251
carloe Avatar asked Apr 08 '10 22:04

carloe


1 Answers

Carloe,

Open your app-info.plist as a text file. The UIFileSharingEnabled setting should look like this:

<key>UIFileSharingEnabled</key>
<true/>

If you did what I did and added UIFileSharingEnabled in the plist and set its value to YES, your key will look like this:

<key>UIFileSharingEnabled</key>
<string>YES</string>

After I fixed that key, my app popped right up in the File Sharing section under the Apps tab of iTunes.

Hope that fixes your problem too!

like image 143
LCombs74 Avatar answered Jan 03 '23 16:01

LCombs74