iOS SDK navigation controller: Autmoatically close/dismiss child view?
-
29-10-2019 - |
Question
How can I close the child view automatically? My situation: I have a navigation controller and if I click onto an item in the root view a detail view appears. Now I want to close this detail view automatically?
Regards, Daniel
Solution
Do you mean programmatically? You can call [self.navigationController popViewControllerAnimated:YES]
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow