开发者

How to go back to the parent table view?

开发者 https://www.devze.com 2023-03-06 18:12 出处:网络
my iPhone application consists of a Tab bar controller with several navigation controllers within it, with table views in each of them.

my iPhone application consists of a Tab bar controller with several navigation controllers within it, with table views in each of them.

I want it so that after I click on a tab bar item, if I go deeper into the table hierarchy and then click on another tab bar item, if I return back to the tab ba开发者_JS百科r item before, that it goes back to the parent table.

Is there a method to somehow do this?


How about using [navigationController popToRootViewControllerAnimated:NO] when a tab is selected?

0

精彩评论

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