UINavigationBar
public extension UINavigationBar
-
SwifterSwift: Set Navigation Bar title, title color and font.
Declaration
Swift
func setTitleFont(_ font: UIFont, color: UIColor = .black)
Parameters
font
title font
color
title text color (default is .black).
-
SwifterSwift: Make navigation bar transparent.
Declaration
Swift
func makeTransparent(withTint tint: UIColor = .white)
Parameters
tint
tint color (default is .white).
-
SwifterSwift: Set navigationBar background and text colors
Declaration
Swift
func setColors(background: UIColor, text: UIColor)
Parameters
background
backgound color
text
text color