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
随机推荐
- MFC深入浅出读书笔记第二部分1
第六章 MFC程序的生死因果 MFC学习过程,这个方法不错,条例清晰. 1.CWinApp -- 取代WinMain地位 WinMain函数的功能由CWinApp的三个函数实现 virtual BO ...
- LR11生成图表后修正Analysis中显示请求的地址长度过短50个字符的问题
在LR11的安装目录下找到LRAnalysis80.ini文件,在其中的[WPB]下添加SURLSize=255内容. 其次还需要修改LR目录下loader2.mdb文件,将其中的Breakdown_ ...
- python-os模块及md5加密
常用内置方法 __doc__打印注释 __package__打印所在包 __cached__打印字节码 __name__当前为主模块是__name__ == __main__ __file__打印文件 ...
- 如何使用 JSX 构建 Gutenberg 块
本教程将介绍使用 JSX 构建自定义块所需的步骤. 由于浏览器不支持 JSX 和 ES6,因此我们需要将代码编译后才能在浏览器中运行. 我们不需要手动编译代码,因为有些工具可以为我们自动执行此过程. ...
- RESTful-rest_framework应用第一篇
一:了解RESTful 主要是做前后端分离用的,RESTful只做后台数据和接口,供外面去调用. REST是Representational State Transfer的简称,中文翻译为“表征状态转 ...
- maven学习(二)——手动创建maven项目
一.Maven的简单使用 1.Maven项目的目录约定 MavenProjectRoot(项目根目录) |----src | |----main | | | ...
- 查看oracle日志路径
adrci ADRCI: Release 12.2.0.1.0 - Production on Tue Oct 9 16:14:35 2018 Copyright (c) 1982, 2017, Or ...
- 【bzoj2245】[SDOI2011]工作安排 费用流
题目描述 你的公司接到了一批订单.订单要求你的公司提供n类产品,产品被编号为1~n,其中第i类产品共需要Ci件.公司共有m名员工,员工被编号为1~m员工能够制造的产品种类有所区别.一件产品必须完整地由 ...
- mapserv和mapserv.exe的区别
哎,困扰了我这么久才知道一个是在unix环境下的,一个是在windows环境下的
- linux编程学习
linux编程学习 工具篇 “公欲善其事,必先利其器”.编程是一门实践性很强的工作,在你以后的学习或工作中,你将常常会与以下工具打交道, 下面列出学习 C 语言编程常常用到的软件和工具. (一)操作系 ...