I am setting the values of the title and back button in the UINavigationBar
as follows:
self.navigationItem.title = @\"Post\";
[self.navigationC
You can not change backBarButtonItem
action in such a way.
I see here 2 possible solutions:
To implement you custom back button do whatever you want with its actions
Here is nice solution how to override standart back event and block popViewController
when needed
https://github.com/onegray/UIViewController-BackButtonHandler/tree/master