1、制作
在项目中右击鼠标 --> Show In Finder --> 右击鼠标 --> 新建文件夹 --> 将文件夹命名为:xxx.bundle --> 将 该文件添加到工程中即可。
2、读取bundle文件夹中的数据
[ [ [NSBundle mainBundle] resourcePath] stringByAppendingPathComppoment:@“xxx.bundle/images/1.png”];
1、制作
在项目中右击鼠标 --> Show In Finder --> 右击鼠标 --> 新建文件夹 --> 将文件夹命名为:xxx.bundle --> 将 该文件添加到工程中即可。
2、读取bundle文件夹中的数据
[ [ [NSBundle mainBundle] resourcePath] stringByAppendingPathComppoment:@“xxx.bundle/images/1.png”];