bundle中资源的路径转换
来源:互联网 发布:绘声绘影软件 编辑:程序博客网 时间:2024/06/05 15:01
NSMutableString *path2 = [NSMutableString stringWithString:[[NSBundle mainBundle] pathForResource:@"WBUserGuideImage" ofType:@"bundle"]];
[path2 appendString:@"haha"];
NSBundle *bundle = [NSBundle bundleWithPath:
[[NSBundle mainBundle] pathForResource:@"WBUserGuideImage" ofType:@"bundle"]];
NSString *path = [bundle bundlePath];
NSString *path1 = [bundle pathForResource:aGuideImgid ofType:nil inDirectory:@"imgs"];
NSFileManager *fm = [NSFileManager defaultManager];
BOOL isexist = [fm fileExistsAtPath:path1];
return isexist;
[path2 appendString:@"haha"];
NSBundle *bundle = [NSBundle bundleWithPath:
[[NSBundle mainBundle] pathForResource:@"WBUserGuideImage" ofType:@"bundle"]];
NSString *path = [bundle bundlePath];
NSString *path1 = [bundle pathForResource:aGuideImgid ofType:nil inDirectory:@"imgs"];
NSFileManager *fm = [NSFileManager defaultManager];
BOOL isexist = [fm fileExistsAtPath:path1];
return isexist;
- bundle中资源的路径转换
- IOS的Bundle资源束
- java中找到资源文件的路径
- MasterPage中资源的相对路径
- WPF 中资源路径的问题
- Java Web中资源的访问路径
- WPF 中资源路径的问题
- Java Web中资源的访问路径
- 虚拟路径中资源路径
- IOS的Bundle资源束制作
- IOS的Bundle资源束制作
- IOS的Bundle资源束制作
- IOS的Bundle资源束制作
- IOS的Bundle资源束制作
- IOS的Bundle资源束制作
- IOS的Bundle资源束制作
- 获取自己的bundle的文件路径
- Eclipse RCP中获取Plugin/Bundle中文件资源的绝对路径
- jQuery选择器
- POJ3006,Dirichlet's Theorem on Arithmetic Progressions,狄利克雷定理,题目看懂就没什么
- 50道c++面试题
- 当Panel等容器类控件 失去焦点再获得焦点后,滚动条复位的解决方式。
- ZOJ 3662 Math Magic(12年长春 site H)
- bundle中资源的路径转换
- xcode 调试
- Bret Victor – Learnable Programming
- 12.黑马程序员-this、super关键字
- define与const 区别
- 26家环保组织联名呼吁释放海南环保人士刘福堂-刘福堂-环保人士-非法出版
- android安全问题(二) 程序锁
- zoj 1240.IBM Minus One
- OpenGL入门学习——写给想用计算机画图的朋友