I have a slide out menu in my app and each of the things in the menu goes to the respective pages.
我的应用程序中有一个滑出菜单,菜单中的每个内容都会转到相应的页面。
Basically, when I tap "graph section" on the dashboard, I want it to go to the graph page without the Dashboard back button.
基本上,当我点击仪表板上的“图形部分”时,我希望它在没有仪表板后退按钮的情况下转到图形页面。
I've tried doing this with a modal segue but this provides a back button which means I can't access the menu on this page.
我试过用模态segue做这个,但这提供了一个后退按钮,这意味着我无法访问此页面上的菜单。
Anyone know how to do this?
有人知道怎么做吗?
2 个解决方案
#1
0
I am not quite sure whether this answers it but have a look at:
我不太确定这是否可以回答它,但看看:
Open View Controller programmatically and not using a Seque
以编程方式打开View Controller而不使用Seque
#2
0
I think you Use navigation controller.Once you hide the navigation controller for that particular page with [self.navigationController setNavigationBarHidden:YES];
and add UIButton and write it's action
我想你使用导航控制器。一旦用[self.navigationController setNavigationBarHidden:YES]隐藏该特定页面的导航控制器;并添加UIButton并写下它的动作
#1
0
I am not quite sure whether this answers it but have a look at:
我不太确定这是否可以回答它,但看看:
Open View Controller programmatically and not using a Seque
以编程方式打开View Controller而不使用Seque
#2
0
I think you Use navigation controller.Once you hide the navigation controller for that particular page with [self.navigationController setNavigationBarHidden:YES];
and add UIButton and write it's action
我想你使用导航控制器。一旦用[self.navigationController setNavigationBarHidden:YES]隐藏该特定页面的导航控制器;并添加UIButton并写下它的动作