IOS Container View VC rejects parent?
I have 3 view controllers. Controller A calls B. B is in the form of a container that contains C, the table view controller. How do I use the didSelectRowAtIndexPath method in C to reject both B and C and return to A?
I've tried this:
[self.navigationController.parentViewController dismissViewControllerAnimated:YES completion:nil];
[self.navigationController.parentViewController dismissViewControllerAnimated:YES completion:nil];
And this:
[self dismissViewControllerAnimated:YES completion:nil];
None of them work.
+3
source to share
No one has answered this question yet
Check out similar questions: