I often saw \"assert \" in iOS code, I google it, and got to know it assert true or false.
I want to know if this will auto disable in release mode?
Asserts are conditionally compiled out of your code when NDEBUG is defined. If you define NDEBUG=1 in the corresponding build settings section, you will deactivate asserts in your code regardless of the release or debug mode.
NDEBUG
NDEBUG=1