UINavigationBar inherits and has all the wonderful properties and behavior of the UIView , and one of these properties is hidden .
So, for your presentation, if you can get a handle to the navigation bar, you just need to check if there are hidden YES or NO .
one way to do this would be to have a UINavigationController or accessor (setter and getter) property for your library so that anyone using the library can set a navigation controller and / or panel for your library name.
source share