iPhone / iPad IOS File Permissions / SandBox anyway to give permissions to another app?
Is there anyway to "break" the sandbox and give perm开发者_JS百科issions to another running APP to allow for file access read / write / delete for the other APP? I did a bit of looking and have not found a way yet.
On a normal iOS device this is not possible.
On a jailbroken device, use NSFileManager. It gives you full access to the filesystem — just give it the paths you want to mess with. You can get the contents of a directory with its -contentsOfDirectoryAtPath:error:
method and move files around with -moveItemAtPath:toPath:error:
For more - Apple iOS Runtime Environment
精彩评论