ios文件管理
<Application_Home>/AppName.app
This is the bundle directory containing the application
itself. Do not write anything to this directory. To prevent
tampering, the bundle directory is signed at installation
time. Writing to this directory changes the signature and
prevents your application from launching again.
In iOS 2.1 and later, the contents of this directory are not
backed up by iTunes. However, iTunes does perform an
initial sync of any applications purchased from the App
Store.
<Application_Home>/Documents/
Use this directory to store user documents and application
data files. The contents of this directory can be made
available to the user through file sharing, which is
described in “Sharing Files with the User’s Desktop
Computer” (page 18).
The contents of this directory are backed up by iTunes.
<Application_Home>/Library/
This directory is the top-level directory for files that are
not user data files. You typically put files in one of several
standard subdirectories but you can also create custom
subdirectories for files you want backed up but not
exposed to the user. (For information on how to get
references to the standard subdirectories, see “Getting
Paths to Standard Application Directories” (page 51).)
You should not use this directory for user data files.
The contents of this directory (with the exception of the
Caches subdirectory) are backed up by iTunes.
<Application_Home>/Library/Preferences
This directory contains application-specific preference
files. You should not create preference files directly but
should instead use the NSUserDefaults class or
CFPreferences API to get and set application preferences;
see also “Adding the Settings Bundle” (page 78).
The contents of this directory are backed up by iTunes.
<Application_Home>/Library/Caches
Use this directory to write any application-specific support
files that you want to persist between launches of the
application or during application updates. Your
application is generally responsible for adding and
removing these files. It should also be able to re-create
these files as needed because iTunes removes them
during a full restoration of the device.
In iOS 2.2 and later, the contents of this directory are not
backed up by iTunes.
<Application_Home>/tmp/
Use this directory to write temporary files that do not
need to persist between launches of your application.
Your application should remove files from this directory
when it determines they are no longer needed. (The
system may also purge lingering files from this directory
when your application is not running.)
In iOS 2.1 and later, the contents of this directory are not
backed up by iTunes.
ios文件管理的更多相关文章
- IOS文件管理-NSFileMangager-NSdata
Ios下的文件管理, Ios下不像windows 文件系统那样可以访问任何的文件目录,如C盘.D盘什么的.在Ios中每个应用程序只能访问当前程序的目录,也即sandbox(沙盒模型). iOS为每个应 ...
- IOS 文件管理 2
IOS开发-文件管理(二) 五.Plist文件 String方式添加 NSString *path = [NSHomeDirectory( ) stringByAppen ...
- iOS路径沙盒文件管理(转载)
iOS路径沙盒文件管理,看到博主总结的很好,转载过来,原文:http://www.aichengxu.com/view/35264 一.iOS中的沙盒机制 iOS应用程序只能对自己创建的文件系统读取文 ...
- IOS开发-文件管理(二)
IOS开发-文件管理(二) 五.Plist文件 String方式添加 NSString *path = [NSHomeDirectory( ) stringByAppen ...
- iOS开发-文件管理(一)
iOS开发-文件管理(一) 一.iOS中的沙盒机制 iOS应用程序只能对自己创建的文件系统读取文件,这个独立.封闭.安全的空间,叫做沙盒.它一般存放着程序包文件(可执行文件).图片.音频.视频.pli ...
- IOS 开发之文件管理
一.iOS中的沙盒机制 iOS应用程序只能对自己创建的文件系统读取文件,这个独立.封闭.安全的空间,叫做沙盒.它一般存放着程序包文件(可执行文件).图片.音频.视频.plist文件.sqlite数据库 ...
- iOS开发-文件管理
iOS学习笔记(十七)--文件操作(NSFileManager) 浅析 RunLoop 解决EXC_BAD_ACCESS错误的一种方法--NSZombieEnabled iOS开发--Swift篇&a ...
- 【转】iOS开发-文件管理(一)
iOS开发-文件管理(一) 一.iOS中的沙盒机制 iOS应用程序只能对自己创建的文件系统读取文件,这个独立.封闭.安全的空间,叫做沙盒.它一般存放着程序包文件(可执行文件).图片.音频.视频.pli ...
- 文件管理中心iOS APP (国外市场:File Center) 技术支持
文件管理中心iOS APP (国外市场:File Center) 技术支持网址:http://www.cnblogs.com/flychen/邮箱:592802944@qq.com
随机推荐
- exkmp略解
推导 ext[i]表示母串s[i..lens]和子串t[1..lent]的最长公共前缀. nxt[i]表示t[i..lent]和t[1..lent]的最长公共前缀. 假设ext[1..k]已经算好,现 ...
- 在 Amazon AWS 搭建及部署网站:序
最近玩了把 AWS,实现了服务器的创建.PHP+MySql运行环境.代码部署等.一方面,后面的项目会反复重复这个流程,需要一份手册,另一方面,也给自己一个记录.于是把整个过程和要点整理一下,发到自己的 ...
- python - 接口自动化测试 - ReadConfig - 读取配置文件封装
# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: read_config.py @ide: PyCharm ...
- 理解机器为什么可以学习(四)---VC Dimension
前面一节我们通过引入增长函数的上限的上限,一个多项式,来把Ein 和 Eout 的差Bound住,这一节引入VC Bound进一步说明这个问题. 前边我们得到,如果一个hypethesis集是有bre ...
- 菜鸟之路——机器学习之Kmeans聚类个人理解及Python实现
一些概念 相关系数:衡量两组数据相关性 决定系数:(R2值)大概意思就是这个回归方程能解释百分之多少的真实值. Kmeans聚类大致就是选择K个中心点.不断遍历更新中心点的位置.离哪个中心点近就属于哪 ...
- MyEclipse断点调试方法
MyEclipse断点调试方法 最基本的操作是: 1, 首先在一个java文件中设断点,然后运行,当程序走到断点处就会转到debug视图下, 2, F5键与F6键均为单步调试,F5是step into ...
- sqlserver创建存储过程返回table
--创建存储过程test create procedure [dbo].[test] ( @I_MTR NVARCHAR (MAX), @I_TYPE NVARCHAR (MAX), @I_FAC N ...
- java 获取请求的完整url地址
String url=request.getRequestURL()+"?"+request.getQueryString();
- bzoj 2387: [Ceoi2011]Traffic
bzoj 2387: [Ceoi2011]Traffic 题目描述 The center of Gdynia is located on an island in the middle of the ...
- ionic2 jpush
ionic2 为ionic2调用极光插件提供符合angular2及TS的调用方式 install 先安装官方的cordova插件 $ cordova plugin add jpush-phonegap ...