我在导航 Controller 内有一个选项卡栏 Controller ,但我似乎无法设置导航栏标题或使用以下方法向导航栏添加按钮:
self.title = @"My Name";
上面的代码仅更改选项卡栏项目名称,而不更改导航 Controller 。
其次。我想禁止返回登录屏幕(屏幕截图中带有 UIWebview 的屏幕)
编辑:我发现可能重复
最佳答案
将 tabBarController 放入 navigationController 中并不常见。如果您找不到自己的方式出了什么问题,请尝试使用另一种方法来实现您想要的目的,即将导航 Controller 放入一个 tabBarController 中。使 tabBarController 成为初始 View Controller 。
关于ios - uinavigationcontroller 内的选项卡栏 Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25789138/