The use of NSBundle!
First lock the link:http://www.52php.cn/article/p-ycyksabq-qn.html
In this section,the author tell us how to use a Bundle,But when I use the Bundle! I had a problem......
I delete the image or other resource (or changed) in the Xcode,then i run the code,the app would not change!!
eg: I copy a sqlite file from the Xcode to the app,when I change the file in the workspace,the app in the simulator
is not change!!
Finaly: I fixed it by changed the ****.app this bundle in : ....../Users/appxy_dev_056/Library/Developer/Xcode/DerivedData/PeriodPal-brninsdxsnedjoejuhpqlgbklbev/Build/Products (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |