ios 获取沙盒文件夹路径
//获取沙盒Document文件夹路径 NSString *documentPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject]; NSLog(@"%@",documentPath); //获取沙盒tmp文件夹 NSString *tmpPath = NSTemporaryDirectory(); NSLog(@"%@",tmpPath); //获取沙盒Library/Caches文件夹 NSString *Caches = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) lastObject]; NSLog(@"%@",Caches);
 
                    
                
 
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号