开发者

Can one application access the path of a file from another application on the iPhone?

开发者 https://www.devze.com 2023-01-25 22:55 出处:网络
Can one ap开发者_StackOverflow社区plication access the path of a file from another application on the iPhone?No. It can not.If you are talking about one application accessing resources from another or

Can one ap开发者_StackOverflow社区plication access the path of a file from another application on the iPhone?


No. It can not.


If you are talking about one application accessing resources from another or one application modifying another, No. You can, however, access Documents that other applications have created.

To get the Documents path:

NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsPath = [paths lastObject];
0

精彩评论

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