开发者

fire back button in UINavigationcontroller with code

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜