在pushViewController之后,如何禁用backBarButtonItem,即无法返回?
发布于 2009-11-17 02:05:47
navigationItem.hidesBackButton =是
发布于 2014-01-17 02:37:19
如果使用情节提要,请单击导航项目并将"hidesBackButton“路径添加到Key path Attributes标记中。

发布于 2010-06-28 03:44:46
我遇到了这个问题,并用下面的代码隐藏了导航栏:
[self.navigationController setNavigationBarHidden: YES animated:YES]; https://stackoverflow.com/questions/1743830
复制相似问题