【发布时间】:2014-02-01 06:16:03
【问题描述】:
我是 iOS 新手,刚开始学习。我创建了一个应用程序,用于将文件下载到目录的 Documents 文件夹中。当我在模拟器上下载文件时,我可以通过以下路径找到它:/Users/......./Simulator/iOS7.0/Applications/Documents。 但是当我在设备上运行应用程序并下载文件时,我无法找到这些文件。我已经使用以下代码给出了路径:
filePath = [NSHomeDirectory() stringByAppendingPathComponent: [NSString stringWithFormat: @"Documents/%@", self.downloadedFilename]];
谁能告诉我如何使用 iTunes 在设备上查找文件?
【问题讨论】: