UINavigationBar
public extension UINavigationBar
NavigationBar+Accessable is used as a customized navigation bar.
Version
1.5.0Date
06/09/2019-
Set the title of the navigation bar.
Declaration
Swift
var title: String? { get set } -
Set the title of the left navigation button.
Declaration
Swift
var leftButtonTitle: String? { get set } -
Set the title of the right navigation button.
Declaration
Swift
var rightButtonTitle: String? { get set } -
Set the action for the left button.
Declaration
Swift
func setLeftButtonAction(action: Selector, withTarget target: AnyObject)Parameters
actionThe action to be settled.
targetThe object.
-
Set the action for the right button.
Declaration
Swift
func setRightButtonAction(action: Selector, withTarget target: AnyObject)Parameters
actionThe action to be settled.
targetThe object.
UINavigationBar Extension Reference