<i id='E9HMW'><tr id='E9HMW'><dt id='E9HMW'><q id='E9HMW'><span id='E9HMW'><b id='E9HMW'><form id='E9HMW'><ins id='E9HMW'></ins><ul id='E9HMW'></ul><sub id='E9HMW'></sub></form><legend id='E9HMW'></legend><bdo id='E9HMW'><pre id='E9HMW'><center id='E9HMW'></center></pre></bdo></b><th id='E9HMW'></th></span></q></dt></tr></i><div id='E9HMW'><tfoot id='E9HMW'></tfoot><dl id='E9HMW'><fieldset id='E9HMW'></fieldset></dl></div>

    <legend id='E9HMW'><style id='E9HMW'><dir id='E9HMW'><q id='E9HMW'></q></dir></style></legend>

    <small id='E9HMW'></small><noframes id='E9HMW'>

      • <bdo id='E9HMW'></bdo><ul id='E9HMW'></ul>
      <tfoot id='E9HMW'></tfoot>

      没有导航控制器的 pushViewController

      pushViewController without navigationcontroller(没有导航控制器的 pushViewController)
    1. <small id='QDBx3'></small><noframes id='QDBx3'>

      <i id='QDBx3'><tr id='QDBx3'><dt id='QDBx3'><q id='QDBx3'><span id='QDBx3'><b id='QDBx3'><form id='QDBx3'><ins id='QDBx3'></ins><ul id='QDBx3'></ul><sub id='QDBx3'></sub></form><legend id='QDBx3'></legend><bdo id='QDBx3'><pre id='QDBx3'><center id='QDBx3'></center></pre></bdo></b><th id='QDBx3'></th></span></q></dt></tr></i><div id='QDBx3'><tfoot id='QDBx3'></tfoot><dl id='QDBx3'><fieldset id='QDBx3'></fieldset></dl></div>

          • <bdo id='QDBx3'></bdo><ul id='QDBx3'></ul>
              <legend id='QDBx3'><style id='QDBx3'><dir id='QDBx3'><q id='QDBx3'></q></dir></style></legend>
                <tbody id='QDBx3'></tbody>

                <tfoot id='QDBx3'></tfoot>
                本文介绍了没有导航控制器的 pushViewController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个类型为 UITableViewController 的类.这个类有一个 UINavigationBar 类型的成员,我用它来添加表格视图的编辑按钮.

                I have a class that is of type UITableViewController. This class has a member of type UINavigationBar that I use for adding in an edit button for the table view.

                使用该方法调用无效.

                [self.navigationController pushViewController:controller];
                

                如何在选择表格行后将详细视图推送到视图上而不将 UITableViewController 包装在 UINavigationController 中?

                How can I push a detail view onto the view after selecting a table row without wrapping my UITableViewController in a UINavigationController?

                推荐答案

                如果没有导航控制器,则不能将视图控制器推送到导航控制器上.如果您想要推送控制器并让它显示最顶层的控制器和所有内容,只需使用 UINavigationController 并完成它.

                You can't push a view controller onto a navigation controller if there is no navigation controller. If you are wanting to be pushing controllers and have it display the topmost controller and everything, just use a UINavigationController and be done with it.

                您可以推送任意UINavigationItems 到您的 UINavigationBar 上,当用户使用后退按钮时,您的 bar 代表将收到通知,以便您采取适当的操作.有关详细信息,请参阅文档.

                You can push arbitrary UINavigationItems onto your UINavigationBar, and your bar's delegate will be notified when the user uses the back button so you can take appropriate action. See the documentation for more information.

                这篇关于没有导航控制器的 pushViewController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                UINavigationController inside a UITabBarController inside a UISplitViewController presented modally on iPhone(UISplitViewController 内的 UITabBarController 内的 UINavigationController 以模态方式呈现在 iPhone 上) - IT屋-程序员软件开发技术分
                ViewController in UINavigationController orientation change(UINavigationController 中的 ViewController 方向更改)
                Custom back button in UINavigationController(UINavigationController 中的自定义后退按钮)
                How to add a navigation controller programmatically in code but not as initial view controller(如何在代码中以编程方式添加导航控制器,但不作为初始视图控制器)
                The correct way to set a light status bar text color in iOS 7 based on different ViewControllers(iOS 7中基于不同ViewControllers设置灯光状态栏文字颜色的正确方法)
                View being blocked by UITransitionView after being presented(呈现后被 UITransitionView 阻止的视图)

                  <tfoot id='Ub3V3'></tfoot>

                        <tbody id='Ub3V3'></tbody>
                      1. <legend id='Ub3V3'><style id='Ub3V3'><dir id='Ub3V3'><q id='Ub3V3'></q></dir></style></legend>
                          <bdo id='Ub3V3'></bdo><ul id='Ub3V3'></ul>
                          <i id='Ub3V3'><tr id='Ub3V3'><dt id='Ub3V3'><q id='Ub3V3'><span id='Ub3V3'><b id='Ub3V3'><form id='Ub3V3'><ins id='Ub3V3'></ins><ul id='Ub3V3'></ul><sub id='Ub3V3'></sub></form><legend id='Ub3V3'></legend><bdo id='Ub3V3'><pre id='Ub3V3'><center id='Ub3V3'></center></pre></bdo></b><th id='Ub3V3'></th></span></q></dt></tr></i><div id='Ub3V3'><tfoot id='Ub3V3'></tfoot><dl id='Ub3V3'><fieldset id='Ub3V3'></fieldset></dl></div>
                        • <small id='Ub3V3'></small><noframes id='Ub3V3'>