2015年6月27日

IOS release 版本的时候 去掉输出log NSLog

摘要: 在.pch文件中添加下面一段#ifndef __OPTIMIZE__#define NSLog(...) NSLog(__VA_ARGS__)#else#define NSLog(...) {}#endif如何添加 pch 文件,xcode - new file -pch file。 将Preco... 阅读全文

posted @ 2015-06-27 10:12 景树园 阅读(518) 评论(0) 推荐(0)

导航