将文件从iPhone沙箱复制到桌面? [英] Copy a file from iPhone sandbox to Desktop?

查看:149
本文介绍了将文件从iPhone沙箱复制到桌面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为uni开发一个iPhone应用程序,我们在iPhone的沙箱目录中创建一个sqlite数据库文件。

I am developing an iPhone app for uni and we create an sqlite database file within the iPhone's sandbox directory.

我们的应用程序在内部写入此文件,我想知道如何可能将此文件恢复到我的桌面。我真的不介意怎么做,任何方式都很好。也许有可能甚至做一些事情,如通过电子邮件从应用程序(如果这是可能的)。

Our application writes internally to this file, I am wondering how it would be possible to get this file back to my desktop. I don't really mind how it can be done, any way is fine. Maybe it is possible to even do something like emailing it from the app (if that is possible). Just a suggestion if anyone knows a way.

提前感谢。

推荐答案

您可以使用管理器。

连接您的iPhone并在Xcode中选择Window-> Organizer。

Connect your iPhone and choose Window->Organizer in Xcode.

很多选项,包括你正在寻找。具体来说,在设备下单击您的iPhone,然后在摘要部分中,在应用程序下找到您的应用。点击应用程序旁边的三角形,使用箭头按钮显示您的应用程序数据,将其下载到您的Mac。

Lots of options there, including what you're looking for. Specifically, click your iPhone under Devices, then in the Summary section find your app under Applications. Click the triangle next to your app which should reveal your Application Data with an arrow button to download it to your Mac.

祝你好运!

这篇关于将文件从iPhone沙箱复制到桌面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆