修改UINavigationBar高度

 @implementation UINavigationBar (CustomHeight)

 - (void)layoutSubviews { [super layoutSubviews]; CGRect barFrame = self.frame; barFrame.size.height = height; self.frame = barFrame; } @end

你可能感兴趣的:(Bar)