Added a BOOL property that determines if the rotation methods result should be taken from the top view controller of a navigation controller (in the case of a UINavigationController being the centerViewController) or from the navigation controller itself.
This is useful for subclassing a UINavigationController and controlling the rotation from the superclass globally.
The default value is YES, so the default behavior matches the current implementation (using the top view controller by default).
Also added the same kind of BOOL but for the status bar style.
Added a BOOL property that determines if the rotation methods result should be taken from the top view controller of a navigation controller (in the case of a UINavigationController being the centerViewController) or from the navigation controller itself.
This is useful for subclassing a UINavigationController and controlling the rotation from the superclass globally.
The default value is YES, so the default behavior matches the current implementation (using the top view controller by default).
Also added the same kind of BOOL but for the status bar style.