打开了优化选项后不打印log mrjeye · 2011-08-18 14:34 · iphone · 移动开发 · ioslog nslog · Markdown .pch #ifndef __OPTIMIZE__ #define NSLog(...) NSLog(__VA_ARGS__) #else #define NSLog(...) {} #endif