标签:
Build Settings —— > Preprocessor Macros.
使用例子:
1 #ifndef APP_STORE_DISTRIBUTION
2 //your method
3 #if DEBUG
4 //your method
5 #else
6 //your method
7 #endif
8 //your method
9 #endif
标签:
原文地址:http://www.cnblogs.com/mmhc/p/5403227.html