开发者

iphone transferring files using iTunes, but not allowing user to see all of docs directory?

It doesn't sound like this is possible, but I will ask anyway.

In my app, I store a lot o开发者_运维百科f images and plists in the documents directory.

I would like to implement a PDF reader in the app that allows users to load their PDFs into the app via iTunes. I do not want the user to be able to see/access the contents of the documents directory since they could cause the app to perform unexpectedly if they messed with these files.

Is this possible, or is it possible to place my plists and images somewhere else?


You'll need to be registered with Apple to see this, but this page should give you the information you need.

You'll need to add a UIFileSharingEnabled key to Info.plist. This will give the user access to the Documents directory of the app, and let them remove or add files.

This tutorial gives an example of how to set up PDF support in an iPad app.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜