UINavigationBar
extension UINavigationBar
Extension created to allow the developer to modify the 'bottom border' of the UINavigationBar. This allows for the white highlight under the UINavigationBar
-
Creates a ‘bottom border’ for the
UINavigationBarby creating a newUIViewof heightheight (@param), setting its background color tocolor (@param)adding it as a subview.Declaration
Swift
func setBottomBorderColor(color: UIColor, height: CGFloat)
View on GitHub
UINavigationBar Extension Reference