I have Controller A and controller B is pushed on top of it in a navigation stack. Is there anyway for controller A to specify an image (say controller A is some sort of list so it specifies a list image) and then controller B’s navigation item’s back button automatically shows that as the back button image?
Share
You can create a custom
UIBarButtonItemand setself.navigationItem.backBarButtonItemto that custom button.UINavigationItem class reference