is there an way to get the "Active Configuration" (Debug / Re开发者_C百科lease) with ObjC or the iOS SDK ?
Easy way
bool isDebug = NO;
#ifdef DEBUG
isDebug = YES;
#endif
What do you mean by getting it? This example will set the variable at compile time which can be use to check if it's a debug build or not in the program.
精彩评论