NSBuilder mainBundle, app路径
来源:互联网 发布:定制家居拆单下料软件 编辑:程序博客网 时间:2024/05/22 15:39
NSString *htmlPath = [[NSBundlemainBundle] pathForResource:@"index"ofType:@"html"inDirectory:@"SRC/main/smapleEnter"];
[NSBundle mainBundle] 是在 .app 里边 的,如果按照以上的路径寻找文件 的 话 ,在添加文件引用时:选择 "Create folder references for any added folders,;
选择 “create groups for any added folders”的话在app中根本找不着这文件;
AnnetPatientMng[929:c07] path:/Users/liaohua/Library/Application Support/iPhone Simulator/6.0/Applications/3EE17391-2B68-4962-BAE8-A373CBF66A54/AnnetPatientMng.app/SRC/main/smapleEnter/index.html
app在安装目录下有一个;在 /Users/liaohua/Library/Developer/Xcode/DerivedData/AntOA-fpuavgerkgsmwofzpwdvtqujfixn/Build/Products/Debug-iphonesimulator 下也有一个,平时 clean 时清的是这个目录下的,在安装目录那个run后才能更新。"
- NSBuilder mainBundle, app路径
- NSBundle MainBundle的路径
- mainBundle
- mainBundle
- NSBundle *mainBundle将hex文件放入app资源库
- iOS开发.[NSBundle mainBundle] 通过pathForResource返回路径为空.
- iOS开发.[NSBundle mainBundle] 通过pathForResource返回路径为空.
- iOS开发 [NSBundle mainBundle] 通过pathForResource返回路径为空.
- 拷贝 xxx.app [NSBundle mainBundle] 包里的文件到 Documents 目录下
- ios怎么把文件夹放进.app文件包(mainBundle)里面
- iOS开发中 [[NSBundle mainBundle] pathForResource: ofType:]路径为空的问题
- iOS问题笔记-[[NSBundle mainBundle] pathForResource: ofType:]方法获取不到资源路径
- iOS 把数据库文件打包到mainbundle中,查找不到路径的解决办法
- iOS 把数据库文件打包到mainbundle中,查找不到路径的解决办法;以及在删除bundle中文件的可行性
- IOS App资源路径
- IOS APP 路径资源
- IOS App资源路径
- IOS App资源路径
- MFC程序的启动过程与相关函数的执行顺序
- 百度面试经验2-android开发工程师
- android自定义Spinner下拉列表框样式
- excel转成DataTable时数据丢失问题
- java 统计在线人数(2)
- NSBuilder mainBundle, app路径
- C++面试题-链表栈二叉树数据结构
- C语言中函数参数入栈的顺序
- Flex从页面url获取参数
- java中关于递归的一些总结
- Chinese Mahjong
- Linux内存管理 一
- ZendFramework学习第一章
- 标准C++实现字符串类CString