Contents

backAction

The back action for the navigation bar.

Declaration

@NSCopying var backAction: UIAction? { get set }

Discussion

If a back button already appears in the navigation bar, setting this property replaces its action without modifying its appearance. Otherwise, setting this property generates a back button with the image or title from the action you specify, unless you use the UINavigationItem.ItemStyle.editor navigation style.

See Also

Configuring the Back button