打开/查找xcode6的沙盒地目录

用以下代码 打开沙盒目录

    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);

打印paths得到沙盒目录如下

/Users/ocq/Library/Developer/CoreSimulator/Devices/3BE436D4-F82B-42A1-A2AE-5244799F9A0F/data/Containers/Data/Application/05ADDB2D-E1CE-465C-AFAE-9E149837F4C7/Documents

在Finder上点->前往->前往文件夹,输入/Users/ocq/Library/Developer/CoreSimulator/Devices/3BE436D4-F82B-42A1-A2AE-5244799F9A0F/data/Containers/Data/Application/05ADDB2D-E1CE-465C-AFAE-9E149837F4C7/Documents  前往即可打开目录。

原创:浪天涯

http://www.cnblogs.com/langtianya/p/3917168.html 

posted @ 2014-08-17 00:30  jack_ou  阅读(10939)  评论(1编辑  收藏  举报