开发者

How easy is it for a user to remove files from NSLibraryDirectory?

开发者 https://www.devze.com 2023-02-28 20:38 出处:网络
I was wondering how easy it is to remove files from the NSLibraryDirectory?I want to store some data there that I don\'t ever want to be removed from the device.The files are big and I have tried to e

I was wondering how easy it is to remove files from the NSLibraryDirectory? I want to store some data there that I don't ever want to be removed from the device. The files are big and I have tried to encrypt them, but it takes 30-60 seconds for the files to decrypt to be displayed on the iPad and this is just too long so I didn't want to encrypt them.

If anyone can tell me how hard it would be for someone to get these files off of the iPad 开发者_运维知识库or have another solution of how to protect them that would be great. Thanks!


Each app has a sandbox that includes a Documents folder that you can use to organize and save resources. On a non-jailbroken device no other app will ever have access to that folder. This folder will be deleted if your app is removed from the device.

On a jailbroken device all bets are off unless you use encryption.

0

精彩评论

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

关注公众号