I have set a bool value for key TCshow in my NSUserDefault, I want to run a nslog test whether the key is saved or not, and i m trying to printout the bool value. here is my cod
%@ is for objects. BOOL is not an object. You should use %d.
%@
BOOL
%d
It will print out 0 for FALSE/NO and 1 for TRUE/YES.
0
1