是否可以在没有导航控制器的情况下推动视图控制器? [英] Is it possible to push a view controller without navigation controller?

查看:102
本文介绍了是否可以在没有导航控制器的情况下推动视图控制器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始编写一个应用程序,我想在没有导航控制器的情况下编写它会有一些viewController EX:aviewController,bviewController ......

i've just started to write an application and i want to write it without navigation controller thereis going to be some viewController EX: aviewController , bviewController ...

是否可以使用导航控制器从aViewController推送到b类的视图控制器(bviewController)?

Is it possible to push to b class's view controller (bviewController) from aViewController wiyhout using navigation controller ?

使用其他词,

此代码有不同的选项:

[self.navigationController pushViewController:self.bViewController animated:YES]; ???

推荐答案

您可以使用UINavigationController并将其推送,并隐藏导航栏。

You could use a UINavigationController and push it, and hide the navigationbar.

这篇关于是否可以在没有导航控制器的情况下推动视图控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆