开发应用程序中, 为了实现文件共享,可以在plist中加入字段
Application supports iTunes file sharing
并设置其值为YES。这样就能实现下面的功能。
当如果设置了该值,但在iTunes里仍然不能发现你的application,可以查看一下Targets中的Info,如图
这里的bundle display name中不能为空,如果为空的话,iTunes不能无法读取该应用程序的内容,因为他没有指定它的名字。
这里的bundle display name就是itunes中文件共享里应用程序的名字