For an application I\'m developing, I need to display a custom back button in a navigation bar. I have the button asset as a PNG image, and I\'m writing this code:
Confusingly backBarButtonItem is not what you're looking for.
backBarButtonItem
It just controls the title on the back button for the next view controller. What you want is to set the leftBarButtonItem to your custom back button.
leftBarButtonItem