【iOS】APP之数据存储
2012-08-16 21:06
281 查看
【iOS之App数据存储】
1、to obtain access to locations outside of your app’s container directory, you must request appropriate entitlements.
为了能够访问app目录之外的目录,你必须申请合适的权限。
2、an app is generally prohibited from accessing or creating files in directories outside of its home directory.
app通常被禁止在主目录外访问或创建目录。
【iOS之App中四个最重要的目录】
1、/Documents/
2、/Library/Application Support
3、/Library/Caches
4、/tmp
On iOS 5.0 and later, the system may delete the
在iOS5.0以后的版本中,系统在低磁盘空间的情况下会删除Caches目录,当本程序运行时,本程序的Caches目录是不会被删除的。
1、to obtain access to locations outside of your app’s container directory, you must request appropriate entitlements.
为了能够访问app目录之外的目录,你必须申请合适的权限。
2、an app is generally prohibited from accessing or creating files in directories outside of its home directory.
app通常被禁止在主目录外访问或创建目录。
【iOS之App中四个最重要的目录】
1、/Documents/
2、/Library/Application Support
3、/Library/Caches
4、/tmp
On iOS 5.0 and later, the system may delete the
Cachesdirectory on rare occasions when the system is very low on disk space. This will never occur while an app is running.
在iOS5.0以后的版本中,系统在低磁盘空间的情况下会删除Caches目录,当本程序运行时,本程序的Caches目录是不会被删除的。
相关文章推荐
- 75.iOS使用KeyChain存储数据与不同App间共享数据
- iOS APP之本地数据存储
- 详解iOS App开发中session和coockie的用户数据存储处理
- iOS APP之本地数据存储(译)
- iOS APP 本地数据存储和缓存
- ios数据存储小结
- iOS 9 请求网络数据出现:App Transport Security has blocked a cleartext HTTP (http://) resource load since it
- iOS开发UI篇—ios应用数据存储方式(偏好设置)
- iOS开发UI篇—ios应用数据存储方式(偏好设置)
- 利用 Disk Drill 导出 iOS App 沙盒中的数据
- iOS 数据存储
- IOS中数据存储 sqlite3 的应用
- IOS 数据存储
- IOS之URL Scheme的使用(可以在app之间调用传递数据)
- ios数据存储中关于Sqlite3使用第三方框架FMDB
- iOS数据存储
- ios 性能优化之app运行时数据收集
- IOS基础:UserDefault存储小量数据
- ios存储网络下载的大数据被appstore拒绝解决方案
- 苹果规定iOS应用的数据存储规则