开发者

fire back button in UINavigationcontroller with code

开发者 https://www.devze.com 2022-12-14 03:47 出处:网络
How is it possible to get one level up in my navigationcontroller? The docs didn\'t help me. [self.na开发者_开发知识库vigationController popToRootViewControllerAnimated:YES];

How is it possible to get one level up in my navigationcontroller? The docs didn't help me.

[self.na开发者_开发知识库vigationController popToRootViewControllerAnimated:YES];

pops to the root(as it says).

[self.navigationController dismissModalViewControllerAnimated:YES];

didn't work either.

Thanks for any help!


Use this function:

[self.navigationController popViewControllerAnimated:YES];
0

精彩评论

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