Contents

setHidesBackButton(_:animated:)

Hides or shows the Back button, optionally animating the transition.

Declaration

func setHidesBackButton(_ hidesBackButton: Bool, animated: Bool)

Parameters

  • hidesBackButton:

    Specify True if the Back button should be hidden when this navigation item is the top item. Specify False if the Back button should be visible, assuming it hasn’t been replaced by a custom item.

  • animated:

    True to animate the transition; otherwise, False.

See Also

Related Documentation

Configuring the Back button