How to enable file sharing for my app?
来源:互联网 发布:linux 创建编辑c文件 编辑:程序博客网 时间:2024/05/01 01:18
链接:http://stackoverflow.com/questions/6029916/how-to-enable-file-sharing-for-my-app
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.
You just have to set UIFileSharingEnabled (Application Supports iTunes file sharing) key in the info plist of your app. Here's a link for the documentation. Scroll down to the file sharing support part. You must also defineCFBundleDisplayName (Bundle Display Name), if it isn't already there. More details here.
链接:http://blog.csdn.net/any2mobile/article/details/38410981
链接:http://stackoverflow.com/questions/14925214/how-to-set-a-custom-folder-with-uifilesharingenabled-yes
You can't. iTunes only shows the contents of the app's Documents directory. iTunes doesn't let a user view the contents of folders insideDocuments.
这里要注意的是,你一定要把要共享的文件放在 Documents 根目录,不能是子目录!!! 不然 iTunes File Sharing 只会显示子目录,不会让用户点击进入子目录,也意味着放在子目录的文件不允许读取。所以一定要把文件直接放在 Documents 下,如
/Applications/90E35BBE-7B62-4D1B-A495-809BC34AB64A/Documents/love.mp3- How to enable file sharing for my app?
- How To Enable or Disable Simple File Sharing in Windows XP
- How to enable packet forwarding for IPv4 and IPv6
- How to enable visual inheritance for Developer Express controls
- How to Enable Failed Request Tracing for UNC Hosting
- How to Create Dump File for Applications
- How to launch App Store from my iPhone application?
- How does your app utilize File Sharing feature?(iOS 支持文件共享UIFileSharingEnabled)
- How to enable web condor?
- How to enable navigation arrows
- How to enable the debugfs
- How to Enable Multi-Touch
- How do my .NET-based clients get the app's HINSTANCE to pass to my function?
- How to Enable Plain Text Password on Windows for Connecting to Samba Server
- How to Install Win32 Assemblies for Side-by-Side Sharing (e.g. WinSxS)
- Android 如何在自定义界面上启用输入法 (How to enable inputmethod for the custom UI)
- Linux: How to enable root user in Gnome for VirtualBox Fedora?
- How to enable AI(accent insensitiv) for one column without changing session
- JS将秒转化成时分秒
- 生活中的小记录(2015.11.05)
- wpa_cli与wpa_supplicant的交互命令
- php学习笔记五:使用 xampp 部署多个站点
- Storyboard全解析-第二部分
- How to enable file sharing for my app?
- 视频直播Android端流程图
- AnjularJS初学(模拟输入限制)
- bootstrap
- mysql 加外键约束
- extjs操作组件的形式
- 全方位对比Mesos、Omega和Borg
- IPC——消息队列2
- 笔记