
iOS沙盒管理
_RhythmMaster
这个作者很懒,什么都没留下…
展开
-
iOS沙盒访问方式
//获取沙盒的路径 NSString *homePath = NSHomeDirectory(); //获取Documents文件夹路径 homepath/Documents //方式1 NSString *docPath = [homePath stringByAppendingPathComponent:@"Documents"]原创 2016-07-29 14:33:05 · 454 阅读 · 0 评论 -
iOS 沙盒的目录结构
1.结构"应用程序包"DocumentsLibrary Caches Preferencestmp2.目录特性 虽然沙盒中有这么多文件夹,但是没有文件夹都不尽相同,都有各自的特性。所以在选择存放目录时,一定要认真选择适合的目录。“应用程序包“: 这里面存放的是应用程序的源文件,包括资源文件和可执行文件。let path = NSBundle.mainBundle().bundlePat原创 2016-08-17 10:36:54 · 273 阅读 · 0 评论