开发者

iOS SDK navigation controller: Autmoatically close/dismiss child view?

开发者 https://www.devze.com 2023-03-14 01:15 出处:网络
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 de开发者_如何转开发tail view appears. Now I want to close this

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 de开发者_如何转开发tail view appears. Now I want to close this detail view automatically?

Regards, Daniel


Do you mean programmatically? You can call [self.navigationController popViewControllerAnimated:YES].

0

精彩评论

暂无评论...
验证码 换一张
取 消