Is it possible to run a method in viewController A
which hides the back button in viewController B
, but not in viewController C
?
Example: View A is a "hidden" screen which only initializes a few things for the app. View B is a web view, and View C is a menu. I would like to remove the Back button from View B by calling a method in View A.
Is this possible without implementing the following in the view controller I am trying to load:
self.navigationItem.hidesBackButton = YES;
Thanks.