随笔分类 -  iOS

读取iOS的资源文件
摘要:// 获取Resources目录下的文件夹路径, 例如: Resources/FolderName NSString *bundlePath = [[[NSBundle mainBundle] pathForResource:@"FolderName" ofType:nil] retain]; // 读取文件 NSString *FilePath = [bundlePath string... 阅读全文
posted @ 2012-07-23 09:24 <懒洋洋> 阅读(995) 评论(0) 推荐(0)