How to detect that the code is in release mode?
Using to the kReleaseMode constant
kReleaseMode
Using the kReleaseMode() method
kReleaseMode()
Using to the BuildConfig class
BuildConfig
Using to the BuildUtils class
BuildUtils