Hello ,
Can some one tell me how to change the navigation bar height.
I am trying to do this but I think I am doing wrong.
CGFloat navBarHeight = 10;
self.navigationController.navigationBar.frame.size.width = navBarHeight;
Thanks
Hello ,
Can some one tell me how to change the navigation bar height.
I am trying to do this but I think I am doing wrong.
CGFloat navBarHeight = 10;
self.navigationController.navigationBar.frame.size.width = navBarHeight;
Thanks
Try using -
CGFloat navBarHeight = 10.0f;
CGRect frame = CGRectMake(0.0f, 0.0f, 320.0f, navBarHeight);
[self.navigationController.navigationBar setFrame:frame];