Since iAnurag post ans is correct, but still has some ui problem (width doesn't fit)
You can resize by adding a category as shown below.Project exampleDownloadthe code
#import "ViewController.h"
@implementation UINavigationBar (customNav)
- (CGSize)sizeThatFits:(CGSize)size {
CGRect rec = self.frame;
CGRect screenRect = [[UIScreen mainScreen] bounds];
rec.size.width = screenRect.size.width;
rec.size.height = 70;
return rec.size;
}
@end
Output

When press on "Button"

Problem in iAnurag Code