摘要: -- 获取资源文件目录 .app/下的图片,音频等资源文件 print("bundlePath" + NSBundle.mainBundle().bundlePath) //以下是获取程序沙盒的路径 -- 根目录 print("home:" + NSHomeDirectory()) -- Documents 文件夹 print("" + NSSearchPathF... 阅读全文
posted @ 2016-03-28 18:25 GrandKai 阅读(364) 评论(0) 推荐(0)