I want to hide the status bar in my entire application.
Also, I also know this, that we can do it as follows:
set the key value "View controller-based status bar appearance" NO in plist.
But I need to do the same only for iOS 7, so, of course, for the OS version some condition is required, and as far as I know, we cannot apply any condition in the .plist file.
Therefore, please offer some line of code that only hides the status bar for iOS 7.
Rate your answer.
source
share