iOS 获取高速随机路径sandbox目录

    NSLog(@"%@", NSHomeDirectory());//沙盒主目录
    NSLog(@"%@", NSTemporaryDirectory());//砂箱tmp目录路径
    NSLog(@"%@", [[NSBundle mainBundle] bundlePath]);//砂箱*.app路径包
    NSLog(@"%@", [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject]);//砂箱document目录路径

版权声明:本文博客原创文章。博客,未经同意,不得转载。

posted @ 2015-07-20 19:48  lcchuguo  阅读(199)  评论(0编辑  收藏  举报