I've got a view that I use for adding data into a table. I show this view using presentViewController
:
AddViewController *avc = [self.storyboard instantiateViewControllerWithIdentifier:@"addview"];
[self presentViewController:avc animated:YES completion:nil];
This UINavigationController
is the root view controller for a UIViewController
that displays the add controls.
I trigger this UINavigationController
from a couple of different places in my project and I'd like to have slightly different text for each. How can I interact with the UIViewController
from where I call presentViewController
, or otherwise change UIViewController
depending on where it was invoked?