Application supports screensiTunes file sharing 设置成为yes

主题 : Application supports iTunes file sharing
级别: 骑士
可可豆: 2113 CB
威望: 2113 点
在线时间: 171(时)
发自: Web Page
Application supports iTunes file sharing&&&
在plistInfo里面把Application supports iTunes file sharing 设置成为yes。然后可以通过itunes管理程序的document目录。但是我要怎么才知道document里面的内容把itunes修改了呢?同步完成的一些回调函数还是notification呢?都没找到呢[ 此帖被magicfish在 10:24重新编辑 ]
级别: 骑士
可可豆: 2113 CB
威望: 2113 点
在线时间: 171(时)
发自: Web Page
搞定了。在applicationDidBecomeActive里面处理就ok了
级别: 新手上路
可可豆: 40 CB
威望: 40 点
在线时间: 65(时)
发自: Web Page
楼主你好,请问怎么把documents里面的文件写到itunes的共享文件 ?谢谢!
级别: 新手上路
可可豆: 443 CB
威望: 853 点
在线时间: 590(时)
发自: Web Page
回 2楼() 的帖子
LZ 肯定是想说“但是我要怎么才知道document里面的内容被itunes修改了呢?同步完成的一些回调函数还是notification呢?都没找到呢”
级别: 新手上路
可可豆: 62 CB
威望: 62 点
在线时间: 21(时)
发自: Web Page
iOS6.0里上传文件时已经不调用这个方法了,请问iOS6里应该如何做啊?
级别: 新手上路
可可豆: 62 CB
威望: 62 点
在线时间: 21(时)
发自: Web Page
有没有大神知道啊,在下很捉急,在线等啊!!!
关注本帖(如果有新回复会站内信通知您)
4*5+2 正确答案:22
发帖、回帖都会得到可观的积分奖励。
按"Ctrl+Enter"直接提交
关注CocoaChina
关注微信 每日推荐
扫一扫 浏览移动版&&国之画&&&& &&&&&&
&& &&&&&&&&&&&&&&&&&&
鲁ICP备号-4
打开技术之扣,分享程序人生!IOS-开发小经验(11)
让iOS app可以从iTunes中添加文件到app 需要在程序的info.plist文件中配置
“Application supports iTunes file sharing” 键,键类型为 Boolean &,键值为 &YES。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:7183次
排名:千里之外
原创:83篇
转载:11篇
(4)(20)(2)(6)(29)(23)(3)(8)(1)ios - How to enable file sharing for my app? - Stack Overflow
to customize your list.
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
J it only takes a minute:
Join the Stack Overflow community to:
Ask programming questions
Answer and help your peers
Get recognized for your expertise
I have an image editing app where users can apply effects to photos. How could I enable it so that users can see my app in iTunes in the File Sharing tab and then just drag+drop photos to the app?
Some of the eBook readers like Stanza works like this and it would be a cool option. Maybe someone can point out a tutorial or resource that talks about how to enable and use this technique.
12k28104200
You just have to set UIFileSharingEnabled (Application Supports iTunes file sharing) key in the info plist of your app.
a link for the documentation. Scroll down to the file sharing support part.
You must also define CFBundleDisplayName (Bundle Display Name), if it isn't already there. .
16.9k24483
6,87174158
According to apple doc:
File-Sharing Support
File-sharing support lets apps make user data files available in iTunes 9.1 and later. An app that declares its support for file sharing makes the contents of its /Documents directory available to the user. The user can then move files in and out of this directory as needed from iTunes. This feature does not allow your app to share files with other app that behavior requires the pasteboard or a document interaction controller object.
To enable file sharing for your app, do the following:
Add the UIFileSharingEnabled key to your app’s Info.plist file, and set the value of the key to YES.
Put whatever files you want to share in your app’s Documents directory.
When the device is plugged into the user’s computer, iTunes displays a File Sharing section in the Apps tab of the selected device.
The user can add files to this directory or move files to the desktop.
Apps that support file sharing should be able to recognize when files have been added to the Documents directory and respond appropriately. For example, your app might make the contents of any new files available from its interface. You should never present the user with the list of files in this directory and ask them to decide what to do with those files.
For additional information about the UIFileSharingEnabled key, see Information .
New XCode 7 will only require 'UIFileSharingEnabled' key in Info.plist.
'CFBundleDisplayName' is not required any more.
One more hint: do not only modify the Info.plist of the 'tests' target. The main app and the 'tests' have different Info.plist.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled

我要回帖

更多关于 android supportsrtl 的文章

 

随机推荐