This answer suggests registering a UINavigationControllerDelegate
for receiving notifications about when segues are done. This should work in the case of push segues where originating view controllers have navigation controllers.
But how about modal segues? Can something like this (a callback to navigationController:didShowViewController:animated:
) apply in the case of modal segues as well?