iOS SDK navigation controller: Autmoatically close/dismiss child view?
-
29-10-2019 - |
题
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
解决方案
Do you mean programmatically? You can call [self.navigationController popViewControllerAnimated:YES]
.
不隶属于 StackOverflow