How to add custom back button in Swift?
So in order to set the title for the back button, you need to do so in the prepareForSegue method of the parent view controller. The code is pretty simple: declare a constant for a bar button, set the title as a blank string, and set that constant equal to the backBarButtonItem on the navigation item.