【发布时间】:2017-02-21 12:41:23
【问题描述】:
我在我的应用程序中添加了tabBar,并使用代码删除了rightBarButtonItem:
UITableView *moreTableView = (UITableView *)tabController.moreNavigationController.topViewController.view;
tabController.moreNavigationController.navigationBar.topItem.rightBarButtonItem = nil;
现在,当我导航到其他屏幕并单击tabBar 的More 按钮时,rightBarButtonItem 再次出现。如果我使用后退导航按钮,它不会出现并且工作正常。但是,当我从 tabBar 中点击 More 按钮时,它会再次出现。
【问题讨论】:
标签: ios uinavigationcontroller uitabbarcontroller