ios 查看 iPad/iPhone 的文件系统以验证保存的文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14637150/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 22:06:01  来源:igfitidea点击:

View the file system of iPad/iPhone to verify saved files

iosfilesystemssandbox

提问by daveMac

I would like to be able to view the file system of my actual iPad/iPhone to verify that files are being written correctly. I can do this using the simulator by navigating to Users/me/Library/Application Support/iPhone Simulator/6.0/Applications/specific app/Documents. Here I can see all of the files and data I have written from within my app.

我希望能够查看我的实际 iPad/iPhone 的文件系统以验证文件是否正确写入。我可以使用模拟器通过导航到 Users/ me/Library/Application Support/iPhone Simulator/6.0/Applications/ specific app/Documents 来完成此操作。在这里,我可以看到我从我的应用程序中写入的所有文件和数据。

I would be really helpful if anyone knows of an app or some way of viewing the file system of my apps WITHOUT JAIL BREAKING

如果有人知道一个应用程序或以某种方式查看我的应用程序的文件系统而无需越狱,我会非常有帮助

Thanks in advance

提前致谢

回答by Tien Do

Strongly recommend iFunbox, take a look at LifeHacker review here. Easy to use and you can even access your iPhone over WiFi. No jailbroken required too.

强烈推荐iFunbox,在这里查看 LifeHacker 评论。易于使用,您甚至可以通过 WiFi 访问您的 iPhone。也不需要越狱。

回答by user2280724

You should try DiskAid: http://www.digidna.net/diskaidwhich is way better than iExplorer. You can connect to your iPhone or iPad via Wi-Fi and USB and browse your iOS file system, app sandboxes and it supports multiple device and simultaneous file transfers.

您应该尝试使用 DiskAid:http: //www.digidna.net/diskaid,它比 iExplorer 好得多。您可以通过 Wi-Fi 和 USB 连接到您的 iPhone 或 iPad,并浏览您的 iOS 文件系统、应用程序沙箱,它支持多设备和同时文件传输。

回答by Josiah

I almost 100% sure this is not possible without a jailbreak (At least not on the device itlsef). If it works on the simulator, then it should be saving correctly on the actual device. If you need to verify it, just read the file from your app, and turn it into an NString, and NSLog it.

我几乎 100% 肯定这在没有越狱的情况下是不可能的(至少不是在设备 itlsef 上)。如果它在模拟器上工作,那么它应该在实际设备上正确保存。如果您需要验证它,只需从您的应用程序中读取文件,并将其转换为 NString,然后 NSLog 即可。

Then you will know if it is working.

然后你就会知道它是否有效。

Cheers.

干杯。

EDIT

编辑

Of course, as other's have mentioned, there is iExplorer, but you have to view the files on a Mac. And it won't show system files.

当然,正如其他人提到的,有 iExplorer,但您必须在 Mac 上查看文件。它不会显示系统文件。