<tfoot id='e4m8N'></tfoot>

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

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

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

        当我从导航控制器推送时如何隐藏导航栏?

        时间:2023-05-17

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

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

            1. <legend id='xr9zu'><style id='xr9zu'><dir id='xr9zu'><q id='xr9zu'></q></dir></style></legend>
                  本文介绍了当我从导航控制器推送时如何隐藏导航栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  当我使用导航控制器推送时,如何在 UIViewcontroller 中隐藏顶部栏pushViewController ?请问有什么帮助吗?

                  how to hide top bar in UIViewcontroller when i push from navigation controller using pushViewController ? any help please?

                  推荐答案

                  将此代码放在要为其隐藏导航栏的视图控制器中.

                  Put this code in the view controller you want to hide the navigation bar for.

                  - (void) viewWillAppear:(BOOL)animated {
                      [super viewWillAppear:animated];
                      [self.navigationController setNavigationBarHidden:YES animated:animated];
                  }
                  

                  你可能还想把它放在那里,这取决于你的需要:

                  And you may also want to stick this in there, depending on your needs:

                  - (void) viewWillDisappear:(BOOL)animated {
                      [super viewWillDisappear:animated];
                      [self.navigationController setNavigationBarHidden:NO animated:animated];
                  }
                  

                  这篇关于当我从导航控制器推送时如何隐藏导航栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:iOS:popViewController 意外行为 下一篇:“开始/结束外观转换的不平衡调用"在带有 Storyboard 的 XCode 4 中以模态方式推送视图时发出

                  相关文章

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

                • <legend id='dUWlW'><style id='dUWlW'><dir id='dUWlW'><q id='dUWlW'></q></dir></style></legend>

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

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