摘要:
问题: NSBundle *bundle = [NSBundle mainBundle]; NSString *resourcePath = [bundle resourcePath]; NSString *filePath = [resourcePath stringByAppendingPath
阅读全文
posted @ 2016-09-09 14:30
菜鸟onTheLoad
阅读(492)
推荐(0)
编辑
摘要:
注意: NSBundle is used to access resources within your application itself: that is, everything inside YourApp.app. The documentsDirectory is a location
阅读全文
posted @ 2016-09-09 14:29
菜鸟onTheLoad
阅读(2930)
推荐(0)
编辑
摘要:
创建文件夹: NSString *imageDir = [NSString stringWithFormat:@"%@/Caches/%@", NSHomeDirectory(), dirName]; BOOL isDir = NO; NSFileManager *fileManager = [NS
阅读全文
posted @ 2016-09-09 14:28
菜鸟onTheLoad
阅读(2989)
推荐(0)
编辑