Apple不允许将应用程序共享文档目录数据直接发送给用户(UIFileSharingEnabled键设置为true) [英] Apple not allow the app share document directory data directly to user ( UIFileSharingEnabled key set to true )

查看:154
本文介绍了Apple不允许将应用程序共享文档目录数据直接发送给用户(UIFileSharingEnabled键设置为true)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我在app的文档目录中插入了一些用户的图像,我还管理了一个sqlite文件。我在我的应用程序中启用了iTunes文件共享选项,以备份PC中的应用程序数据。
当我将其上传到appStore时,评论者拒绝了该评论的应用程序 -







我的应用程序的问题出在最后一段,其中包含文件Documents文件夹应该只是用户需要访问的文件。



我读了这篇优秀的教程。


In my app i got inserted some images by user in app's document directory and i also manage one sqlite file in it. i have enabled iTunes file sharing option in my app to backup app data in PC. When i uploaded it to appStore, reviewers rejected the app with comment -


The problem with my app is in the last paragraph, which says files in Documents folder should only be files that user need to access.

I read this excellent tutorial http://www.raywenderlich.com/1948/itunes-tutorial-for-ios-how-to-integrate-itunes-file-sharing-with-your-ios-app but not found anything useful for me in this condition.

please suggest, "should i encrypt the data and save it in doc directory ?"
or anyone has better approach for this so that apple approve my app.

Thanks in advance.

解决方案

After lot of researching about File Sharing i found to change structure of files in my app because Apple doc clearly says:

For additional information about the UIFileSharingEnabled key, see Information Property List Key Reference.

这篇关于Apple不允许将应用程序共享文档目录数据直接发送给用户(UIFileSharingEnabled键设置为true)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆