Is there any particular flag which can be set to not display NSLog output in either debug or release?
Thanks.
check for Debug mode using this macro
#ifdef DEBUG //NSLog(@"XYZ"); #endif
Above NSLog will not get printed in Release mode