Is there any particular flag which can be set to not display NSLog output in either debug or release?
Thanks.
You can define a macro in the precompiled header (.pch) to disable NSLog:
#ifdef RELEASE # define NSLog(...) #endif
This disables NSLog in release builds.