开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜