iOS #ifdef DEBUG 详解

1> #ifdef DEBUG代码块 #ifdef DEBUG     NSLog(@"Debug 模式的代码..."); #else     NSLog(@"Release 模式的代码..."); #endif 2> xcode 切换 debug 和 release版本 若是要测试在不一样模式下代码的运行效果,能够选择 Product -> Scheme -> Edit Scheme 修改 Bu
相关文章
相关标签/搜索