I have a navigation controller that displays viewcontroller A. There is a right button (labelled "B") that leads to viewcontroller B.
Now, when the user makes an important change in (the view managed by) viewcontroller B, viewcontroller B's usefulness has ended.
From then on, VC A should lead to a new VC, viewcontroller C. This is the behavior that I want. However, because viewcontroller A has already been created with a right button leading to "B", I'm not sure how to get it to re-configure itself. I want it to now have a right button labeled "C" which leads to viewcontroller C.
I have been unable to find any sample code that addresses a situation like this. To boil the problem down to its essence, I just need to be able to re-make viewcontroller A while it's in the navcontroller's stack.