Lets say I have two controller A & B… When I’ll navigate from A to B then back button on B Controller will be A.
So my problem is… On a button click I have to change backButton to Cancel Button.. and on another back button it should appear backButton A in back button arrow style.
Please suggest.
Do the following,
To SHOW the Cancel button:
To HIDE the Cancel button:
Make sure self.navigationController.navigationItem.hidesBackButton is NO.