有办法访问iphone / ipad中的文件夹(真实设备,没有模拟器)? [英] There's a way to access the document folder in iphone/ipad (real device, no simulator)?

查看:139
本文介绍了有办法访问iphone / ipad中的文件夹(真实设备,没有模拟器)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有办法访问真实设备(iphone / ipad)文件夹吗?我意识到一个应用程序将一些数据存储在该文件夹中,我想检查一切是否正确。

there's a way to access a real device (iphone/ipad) document folder? I realized an app that store some data in that folder and i wanted to check if all is going in the right way.

推荐答案

对于任何寻找确切答案的人: -

To anyone looking out for the exact answer:-

1.转到项目的plist文件。

1.Go to plist file of your project.

2.添加一行。

3.然后将属性应用程序支持iTunes文件共享的布尔值设置为是。 (键名是 UIFileSharingEnabled

3.Then set the Boolean value of the property "Application supports iTunes file sharing" to "YES". (the key name is UIFileSharingEnabled)

你很高兴。

另请注意,您必须插入设备才能访问复制的文件(以编程方式)。如果您碰巧尝试在计算机上访问它...您将无法找到这些文件。

Also note that you have to plugin the device in order to access the copied files (Programmatically). If you happen to go and try to access it on computer .. you wont be able to find the files.

这篇关于有办法访问iphone / ipad中的文件夹(真实设备,没有模拟器)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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