1. <legend id='T8I5N'><style id='T8I5N'><dir id='T8I5N'><q id='T8I5N'></q></dir></style></legend>
    2. <tfoot id='T8I5N'></tfoot>

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

      1. <small id='T8I5N'></small><noframes id='T8I5N'>

      2. UINavigationController 后退按钮不可见,但有效

        UINavigationController Back Button not visible, but works(UINavigationController 后退按钮不可见,但有效)
      3. <small id='g7mn2'></small><noframes id='g7mn2'>

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

              <bdo id='g7mn2'></bdo><ul id='g7mn2'></ul>

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

                  <tfoot id='g7mn2'></tfoot>

                • 本文介绍了UINavigationController 后退按钮不可见,但有效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的 UINavigationController 缺少后退按钮(左按钮)但点击左按钮似乎仍然有效.

                  I have a scenario where my UINavigationController is missing the back button (left button) but tapping the left button still seems to work.

                  我在此处发现了类似的问题:UINavigationController 的后退按钮消失?通过不将标题设置为@"解决了这个问题,但这不是我的问题.是否有任何其他情况会导致此行为?

                  I found a similar problem posted here: UINavigationController's back button disappears? which was resolved by not setting the title to @"", but that's not my problem. Are there any other scenarios that would cause this behaviour?

                  更新:

                  如果重要的是我的视图层次结构:我的 MainWindow 包含一个 UINavigationView,它首先加载一个 UIViewController(这个视图包含一个地图).当点击注释附件按钮时,它会加载一个 UITableViewController.正是这个视图应该有后退按钮.

                  In case it matters here is my view hierarchy: My MainWindow contains a UINavigationView which first loads a UIViewController (this view contains a Map). When tapping on an annotation accessory button it then loads a UITableViewController. It's this view that should have the back button.

                  谢谢.

                  推荐答案

                  天啊!好的,我在 iphonedevsdk.com 上的一篇文章中找到了答案,现已不复存在.

                  Oh Man! Ok, I found the answer in an article on iphonedevsdk.com, now defunct.

                  事实证明,我的第一个视图(上面有地图的那个)没有设置标题(实际上我隐藏了导航栏,因为我不想显示它).即使在稍后的视图中设置了标题,SDK 似乎也不在乎.我仍然不能 100% 理解为什么我可以点击该区域以使其工作.

                  It turns out that my first view (the one with the map on it) didn't have a title set (in fact I hide the navigation bar because I didn't want to show it). Even if the title WAS set on a later view the SDK doesn't seem to care. I still don't understand 100% why I could tap in the area to get it to work.

                  所以即使我隐藏了第一个导航栏,我仍然需要设置它的标题.

                  So even though I hide the first navigation bar I still need to set the title of it.

                  做到了!

                  感谢所有尝试提供帮助的人.

                  Thanks to everyone who tried to help.

                  这篇关于UINavigationController 后退按钮不可见,但有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 get the previous viewcontroller that pushed my current view(如何获取推送我当前视图的上一个视图控制器)
                  The correct way to set a light status bar text color in iOS 7 based on different ViewControllers(iOS 7中基于不同ViewControllers设置灯光状态栏文字颜色的正确方法)
                  Show UITabBar when UIViewController pushed(推送 UIViewController 时显示 UITabBar)
                  <legend id='rRl3O'><style id='rRl3O'><dir id='rRl3O'><q id='rRl3O'></q></dir></style></legend>
                • <i id='rRl3O'><tr id='rRl3O'><dt id='rRl3O'><q id='rRl3O'><span id='rRl3O'><b id='rRl3O'><form id='rRl3O'><ins id='rRl3O'></ins><ul id='rRl3O'></ul><sub id='rRl3O'></sub></form><legend id='rRl3O'></legend><bdo id='rRl3O'><pre id='rRl3O'><center id='rRl3O'></center></pre></bdo></b><th id='rRl3O'></th></span></q></dt></tr></i><div id='rRl3O'><tfoot id='rRl3O'></tfoot><dl id='rRl3O'><fieldset id='rRl3O'></fieldset></dl></div>

                        <tbody id='rRl3O'></tbody>

                      • <small id='rRl3O'></small><noframes id='rRl3O'>

                          <bdo id='rRl3O'></bdo><ul id='rRl3O'></ul>
                          <tfoot id='rRl3O'></tfoot>