摘要:
问题: NSBundle *bundle = [NSBundle mainBundle]; NSString *resourcePath = [bundle resourcePath]; NSString *filePath = [resourcePath stringByAppendingPath 阅读全文
摘要:
注意: NSBundle is used to access resources within your application itself: that is, everything inside YourApp.app. The documentsDirectory is a location 阅读全文
摘要:
创建文件夹: NSString *imageDir = [NSString stringWithFormat:@"%@/Caches/%@", NSHomeDirectory(), dirName]; BOOL isDir = NO; NSFileManager *fileManager = [NS 阅读全文