• <bdo id='b4AOf'></bdo><ul id='b4AOf'></ul>

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

        <tfoot id='b4AOf'></tfoot>
      1. <small id='b4AOf'></small><noframes id='b4AOf'>

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

        隐藏导航控制器后退按钮 iOS 7

        时间:2023-06-11

          1. <tfoot id='o3OpR'></tfoot>

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

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

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

                  问题描述

                  我试图通过在我的 viewDidLoad 方法中添加以下几行来隐藏导航控制器中的后退按钮.之前关于 SO 的许多其他答案都说这很有效,所以我不知道我的问题是什么?iOS 7/Xcode 5 可能有什么新东西?

                  I have tried to hide the back button in my navigation controller by adding the following lines to my viewDidLoad method. Many other previous answers on SO have said this works, so I don't know what my problem is? Maybe something new with iOS 7 / Xcode 5?

                  self.navigationItem.hidesBackButton = YES;
                  self.navigationController.navigationItem.hidesBackButton = YES;
                  

                  推荐答案

                  我也遇到过类似的问题.这仅在您没有自定义 导航栏 时有效.以下任何一种都可以.

                  I too had faced similar issue. This will work only when you have not customized your Navigation bar. Either one of the below one will work.

                  [self.navigationItem setHidesBackButton:YES animated:YES];   OR
                  [self.navigationItem setHidesBackButton:YES];
                  

                  请检查您是否在iOS 7中获得了Back",然后上面的就可以了.

                  Please check whether your getting "Back" in iOS 7, then the above will work.

                  希望这将帮助您确定问题

                  Hope this will help you to identify the issue

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

                  上一篇:“试图弹出一个不存在的视图控制器." 下一篇:弹出到根视图控制器,没有表视图的动画崩溃

                  相关文章

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

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

                  1. <legend id='fs4az'><style id='fs4az'><dir id='fs4az'><q id='fs4az'></q></dir></style></legend>