问题描述
有没有人得到UIFileSharingEnabled或CFBundleDocumentTypes工作?我将UIFileSharingEnabled添加为我的plist,并使用下面的链接的CFBundleDocumentTypes苹果的例子,但似乎无法得到它的工作。我没有在iTunes中看到我的应用程序在文件共享下,我没有打开在我的应用程序中注册的文件的选项,当我点击它们mail.app
打开你的app-info.plist作为文本文件。 UIFileSharingEnabled设置应该如下所示:
< key> UIFileSharingEnabled< / key>
< true />
如果你做了我所做的并在plist中添加了UIFileSharingEnabled并将其值设置为YES,如下所示:
< key> UIFileSharingEnabled< / key>
< string> YES< / string>
当我解决了这个问题之后,我的应用程序就会弹出iTunes。
希望能解决您的问题!
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
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!
这篇关于CFBundleDocumentTypes& UIFileSharingEnabled问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!