I want to resize height of UINavigationBar
I came across few questions previously asked here, but I believe this is quite different then those.
Found that, I've to make subclass of UINavigationBar
and where I should update height of it. But then to use that subclassed navigation bar I've to use below method of UINavigationController
.
Here it is:
- (id) initWithNavigationBarClass:(nullable Class)navigationBarClass
toolbarClass:(nullable Class)toolbarClass;
if I used this to set my subclassed navigation bar, then how do I set its rootViewController
using below method:
- (id) initWithRootViewController:(UIViewController *)rootViewController;
Is there any other way that, I can achieve my goal of resized navigationbar height and also I should set a root view controller to it?